Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
6.8
-
None
-
fbb07fbfa (dev), 210f2c8a4 (dev), 54844d4d0 (dev), b3937a47e (dev), 808d4d712 (dev), 1d9a5534d (dev), dfb6642aa (dev)
Description
Implement go to definition and go to type definition for QML elements defined in C++. Requires QTBUG-119143 to add line and column numbers to the qmltypes so qmlls can tell the editor where to find the type definition.
List of elements where we want to jump to C++ code:
to do
in progress
done
- C++ defined components
- C++ defined attached types
- C++ defined singletons
- property of C++ defined components
- including grouped properties!
- signal of C++ defined components
- method of C++ defined components
- slot of C++ defined components
- enum in C++ defined component or namespace
- enum value in C++ defined component or namespace
Attachments
Issue Links
- depends on
-
QTBUG-119143 Generate line numbers in moc JSON output
-
- In Progress
-
- is duplicated by
-
QTBUG-134753 qmlls: go to definition of C++ defined types
-
- Closed
-
- is required for
-
QTBUG-97637 QML Language Server Support for IDEs (like VSCode, QtC)
-
- In Progress
-
- relates to
-
QTBUG-110309 qmlls: go-to type definition support
-
- Closed
-
-
QTBUG-110311 qmlls: go-to definition support
-
- Closed
-
-
QTCREATORBUG-28086 Code navigation: Add ability to navigate from QML code to C++ code
-
- Closed
-
- resulted from
-
QTBUG-133586 F2 shortcut or Ctrl+Click in qml files sometimes leads to build dir instead of source and sometimes does absolutly nothing
-
- Open
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-128393 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
657704,11 | qmlls: implement go to definition for singleton types | dev | qt/qtdeclarative | Status: NEW | +2 | 0 |