qtdeclarative/tests/auto/qmlls/modules
Sami Shalayel 50a7560b78 qmlls: show fix suggestions and enable quick fixes
Display the fix suggestions from qmllint in qmlls instead of just
showing the warning.
For example,
'Unqualified access: xxx is accessible in this scope because you are
handling a signal at 18:10. Use a function instead.'
sounds so much more helpful than the previous 'Unqualified access'.

Add an ending '.' in QQmlJSFixSuggestion's messages where missing.

Enable quick-fixes in VS Code and QtC by labeling quickfixes as
quickfixes. Everything that is not labelled a quickfix might need a
special language client implementation to work.
Also, add a test for quickfixes: it seems someone broke the quick
fix functionality in qmlls by mistake by relabeling a quickfix to
'refactor.rewrite'.

Task-number: QTBUG-115213
Change-Id: I350e23901b97d16a60bb39fdb4ab566b0d7fbdfb
Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2023-08-29 21:34:09 +02:00
..
data qmlls: show fix suggestions and enable quick fixes 2023-08-29 21:34:09 +02:00
CMakeLists.txt CMake: Make qtdeclarative tests standalone projects 2023-07-05 12:34:12 +02:00
tst_qmlls_modules.cpp qmlls: show fix suggestions and enable quick fixes 2023-08-29 21:34:09 +02:00
tst_qmlls_modules.h qmlls: show fix suggestions and enable quick fixes 2023-08-29 21:34:09 +02:00