Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 7.0.2
-
None
Description
*The project shown here is "heartrate-game" example shipped with Qt Creator.
There is a feature called "Find References to Symbol Under Cursor" which shows the places in the project where the selected symbol is referenced.
However, if I use this to, let's say a slot in .cpp, it only shows the references in .cpp files, even though it's supposed to be searched under the entire project.
Here is what actually happened when I used it to the slot "connectToService" in .h file.
The result is kind of misleading and even confusing becuase in the image above, the slot "connectToService" appears to be not used at all, but this slot actually is used in .qml, which by the way I found by using "Search" feature of Qt Creator.
Realistically speaking, symbols in Qt projects tend to be used in both cpp and qml side, therefore, in order to make it easier for developers to grasp the big picture, "Find References to Symbol Under Cursor" should show the reference in .qml files too.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-11771 Code models of C++ and QML don't cooperate
-
- Open
-