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

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

    XMLWordPrintable

Details

    Description

      "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`
      }
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes