Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
eba8eb230 (dev), 7d8ac7c2d (dev), 743368d27 (dev), 435488bde (dev), 38c941bc5 (dev), 4128479a8 (dev)
Description
Find usages should be provided, as it is the basis of several refactoring operations.
We can distinguish local symbols that are defined in the js code in qml, and the "exported/imported" symbols that can be seen by all files.
Building the list of exported symbols means scanning all files in a project.
It might be useful to use a SQLLite approach for this, to avoid having to rescan everything if not needed.
Work by Marco Bubke might be useful for this.
Attachments
Issue Links
- covers
-
QTCREATORBUG-25988 "Find References to Symbol Under Cursor" on QML signals
- Closed
- depends on
-
QTBUG-92876 Dom: model JS expressions/statements in QmlDom and add qmlls (find usages, go to definition, ...) support for them
- Closed
-
QTBUG-98637 Reduce duplication/harmonize Dom with libCompiler
- Closed
- is required for
-
QTBUG-97637 QML Language Server Support for IDEs (like VSCode, QtC)
- In Progress
- relates to
-
QTBUG-109006 qmlls: Provide go-to support
- Closed
-
QTBUG-119964 New QML LSP features (6.8)
- In Progress
- split to
-
QTBUG-92876 Dom: model JS expressions/statements in QmlDom and add qmlls (find usages, go to definition, ...) support for them
- Closed
- mentioned in
-
Page Loading...
Gerrit Reviews
For Gerrit Dashboard: QTBUG-100084 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
470763,44 | qmlls: implement Find-usages for JS variables | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
474792,4 | qqmldomastcreator: set qqmljsscope in DOM script elements | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
474793,5 | Qml: Add script element for return statements | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
475719,5 | qmlls: move common module code to base class | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
501970,4 | qmlls: find usages of method parameters | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
502122,6 | qml: fix parser grammar for argument deconstruction | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |