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

Refactoring a QML element into its own file should retain id

    XMLWordPrintable

Details

    • 6a5f06d463786ad29d59943bb9ca3fbcf5bbcb8f

    Description

      With the "Move component into filename.qml" refactoring operation, the user is often chopping up QML files that have grown too large into smaller components. Currently, this refactoring does not keep the id, but instead produces an empty element. This often breaks QML files, because other elements refer to the refactored element by its id.

      If the id could be kept in the instance declaration of the component, this would not be a problem.

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            holmsted Lasse Holmstedt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes