Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
0232b45ce (dev), d6443b601 (dev)
Description
Now that the Dom contains semantic information via the QQmlJSScopes, improve the code completion to use it.
E.g., when completing some field member access like "someId.property1.property2", use the semantic scope to know which type is currently used and which properties are actually available in this type.
Attachments
Issue Links
- covers
-
QTBUG-118025 qmllsp: Issues with completion in VS 2022
- Closed
-
QTCREATORBUG-28788 Randomly missing QML components
- Closed
- depends on
-
QTBUG-119842 qmlls: crash when autocompleting return statements
- Closed
-
QTBUG-119839 qmlls: invalid completions after dots
- Closed
-
QTBUG-120100 qmlls: completion inserts colons in bindings
- Closed
-
QTBUG-120102 qmlls: completion mismatch for qualified expressions
- Closed
-
QTBUG-120111 qmlls: missing completion for qualified types
- Closed
-
QTBUG-120137 qmlls: completion inserts extra semicolon in for loops
- Closed
-
QTBUG-119237 Let parser handle incomplete documents
- Reported
-
QTBUG-92876 Dom: model JS expressions/statements in QmlDom and add qmlls (find usages, go to definition, ...) support for them
- Closed
-
QTBUG-117442 qmlls: completion for attached + grouped properties
- Closed
-
QTBUG-119803 qmlls: completion for JS methods/lambdas
- Closed
-
QTBUG-119969 qmlls: snippets completion for Quick
- Closed
-
QTBUG-120250 qmlls: Snippet completion for bindings
- Reported
- is required for
-
QTBUG-97637 QML Language Server Support for IDEs (like VSCode, QtC)
- In Progress
- relates to
-
QTCREATORBUG-30056 QML snippets don't work when Language Server is enabled
- Closed
-
QTBUG-100083 LSP: completion using all js and compiler information
- Closed
- replaces
-
QTBUG-103765 Add qmlls completions test cases
- Closed
- resulted in
-
QTBUG-120484 qmlls: formatting removes some comments
- Closed
-
QTBUG-120677 tst_qmlls_utils: adapt tests to changes in qmlls
- Closed
- split to
-
QTBUG-92876 Dom: model JS expressions/statements in QmlDom and add qmlls (find usages, go to definition, ...) support for them
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-113727 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
502750,4 | qmlls: move completion support to QQmlLSUtils | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
507367,10 | qmlls: autocomplete more keywords | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |