Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
6.8
-
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:
- Split Initializer
- 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)
- Move Component into Separate File
- Wrap Component in Loader
Attachments
Issue Links
- is required for
-
QTBUG-97637 QML Language Server Support for IDEs (like VSCode, QtC)
- In Progress
-
QTCREATORBUG-31084 "Move Component into Separate File" messes up indentation in that new file
- Closed
-
QTBUG-116644 qmlls/qmllint: support quickfixes from the old codemodel
- Reported
- relates to
-
QTBUG-112338 Unify qmllint disable/enable comments with QML annotations and Qt Creator's @disable-check
- Reported