Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 3.1.0-rc1
-
None
-
Windows 7 64 bit
Description
- Open the attached project and configure it to use Qt 4.8.
- Place the cursor in the call to
tc.write();
in main.cpp and trigger "Find Usages".
Creator will find three usages in C++, but not the usage in QML. - Place the cursor in the call to
tc.write();
in main.qml and trigger "Find Usages".
Creator will find a usage in QML, but not the usages in C++.
I think "Find Usages" should find all usages of a function, regardless where it is being used. Features like "Follow Symbol Under Cursor" should work for a C++ function, even when the cursor is at a call in a QML file.
Use case? I nearly deleted a seemingly unused function from Creator. Would have broken the Welcome mode...
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-28250 Find References to Symbol Under Cursor should show the reference in .qml files too
-
- Closed
-