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

"Move Component into Separate File" messes up indentation in that new file

    XMLWordPrintable

Details

    • ac0ad40ef (master)

    Description

      Try opening refactor menu for the Item, "Move Component into Separate File" and open that file.

      'objectName' is intended one time too much and the ending } is also off by one.

      import QtQuick
      import QtQuick.Window
      
      Window {
          Item {
              id: myItem
              objectName: "hello"
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              ausutter Audun Sutterud
              poikelin Joni Poikelin
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes