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

    • ac0ad40ef (master)

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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes