-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
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.
- covers
-
QTCREATORBUG-25988 "Find References to Symbol Under Cursor" on QML signals
-
- Reported
-
- depends on
-
QTBUG-92876 Support js declarations and usages in the Dom
-
- In Progress
-
-
QTBUG-98637 Reduce duplication/harmonize Dom with libCompiler
-
- In Progress
-
- is required for
-
QTBUG-97637 QML Language Server Support for VS Code (and other IDEs)
-
- Open
-
- relates to
-
QTBUG-109006 qmlls: Provide go-to support
-
- In Progress
-
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 |
475804,16 | qmlls: find usages of id's and properties | dev | qt/qtdeclarative | Status: MERGED | -1 | 0 |
475919,16 | QmlDom: implement the FieldMemberExpression | dev | qt/qtdeclarative | Status: MERGED | -1 | 0 |
481490,3 | qmlls: find usages of methods | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
487513,21 | qmlls: find usages of signals and bindings | dev | qt/qtdeclarative | Status: MERGED | -1 | 0 |
488586,24 | qmlls: find usages of propertyChanged signals/handlers | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |