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 |
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 |
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 |
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 |
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 |
495119,10 | qmlls: find usages of signals in Connections objects | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
495654,3 | qmlls: find usages of properties in Bindings | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
499813,4 | Find usages of properties and signals in PropertyChanges object | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 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 |
513361,2 | qmlls: find usages of inline components | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
515198,23 | qmlls: find usages in multiple files | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
515198,23 | qmlls: find usages in multiple files | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
520845,8 | qmlls: find usages in PropertyChanges and Binding items | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
533570,18 | qmlls: find usages of inline components in same file | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
533571,19 | qmlls: find usages of inline components in property definitions | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
533835,3 | cleanup qmllsutils: use resolveExpressionType in findBaseOf | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
533939,21 | qmlls: make resolveExpressionType use findDefiningScope | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
544651,18 | DomItem: allow fieldfilters in visitTree | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
544652,17 | cache tst_qmlls_utils tests by directory | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
544653,17 | tst_qmlls_utils: move test files in own folder | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |