Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-31299

Auto-Indent Selection inserts tabs/spaces into JavaScript template literal

XMLWordPrintable

      "Edit" > "Advanced" > "Auto-Indent Selection" will indent all lines inside the JS block below, which adds characters to the string:

      // poetry.js
      function haiku() {
      return `Qt for all software
      Code once, deploy everywhere
      Innovation blooms`
      }
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtqmlteam Qt Qml Team User
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes