Creator showing symbol usages
-
In Creator source code editing, I have used right click on symbol and either of the two Find References ... menu items for years. They present matching lines grouped by filename, fine. Now I must have accidentally picked something else or clicked some key unintentionally. I cannot paste screenshot as it has gone now. It presented something rather different, and potentially very useful:
- I think it was titled with something like
Usages. - All matching lines were listed, not grouped by filename.
- Certain lines were "colored" in sort of "magenta" color --- these might have been assignments to the symbol, not sure.
- Each line had at the right something like the name of the function it was in imposed onto the output.
So... wtf did I press and how do I get back to this?!
- I think it was titled with something like
-
@JonB Do you mean the
Call Hierarchyin the sidebar? And then there is alsoFind References With Access Type.@aha_1980
Nope, neither of these, I know them both!The output it produced went to the Search Results pane at the bottom, just like for the two Find References ..., not e.g. to the bottom left pane for Call Hierarchy. But I have laid out carefully the differences from either of those, please read carefully --- no grouping by file, lines had information about where they were in that output pane but over to the right, and some lines were colored magenta. Very specific! It was something else, and I have been using Creator for a decade without ever (accidentally) coming across it.... I would ask ChatGPT but I don't have enough questions left from my present 5 hour limit :(
UPDATE
Ah, wait, it looks like it was the Find References with Access Type which I rarely use, hang on....OK, I was wrong about it not being grouped by filename. But it does have magenta for assignments in contrast to blue for references (and I see yellow for declaration), and it does show function names at right. This is very useful!!
-
@JonB Do you mean the
Call Hierarchyin the sidebar? And then there is alsoFind References With Access Type.@aha_1980
Nope, neither of these, I know them both!The output it produced went to the Search Results pane at the bottom, just like for the two Find References ..., not e.g. to the bottom left pane for Call Hierarchy. But I have laid out carefully the differences from either of those, please read carefully --- no grouping by file, lines had information about where they were in that output pane but over to the right, and some lines were colored magenta. Very specific! It was something else, and I have been using Creator for a decade without ever (accidentally) coming across it.... I would ask ChatGPT but I don't have enough questions left from my present 5 hour limit :(
UPDATE
Ah, wait, it looks like it was the Find References with Access Type which I rarely use, hang on....OK, I was wrong about it not being grouped by filename. But it does have magenta for assignments in contrast to blue for references (and I see yellow for declaration), and it does show function names at right. This is very useful!!
-
J JonB has marked this topic as solved