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

qmlls: implement Qt Creators Refactoring operations

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • 6.11
    • 6.8
    • QML: Tooling
    • None

      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

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

            qtqmlteam Qt Qml Team User
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes