Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126542

qmlls: implement Qt Creators Refactoring operations

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • 6.9
    • 6.8
    • QML: Tooling
    • None

    Description

      Implement the refactoring and quickfixes from QtC's builtin codemodel in qmlls!

      In qmljsquickfixes.cpp's findQmlJSQuickFixes(), it seems that following 4 quickfixes are suggested:

      1. Split Initializer
      2. Add a Comment to suppress that message (see also https://doc.qt.io/qt-6/qtqml-tooling-qmllint.html#disabling-warnings-inline and https://bugreports.qt.io/browse/QTBUG-112338 for more infos)
      3. Move Component into Separate File
      4. Wrap Component in Loader

      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
              sami.shalayel Sami Shalayel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes