Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Creator showing symbol usages

Creator showing symbol usages

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 69 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • JonBJ Offline
    JonBJ Offline
    JonB
    wrote last edited by JonB
    #1

    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?!

    1 Reply Last reply
    0
    • aha_1980A aha_1980

      @JonB Do you mean the Call Hierarchy in the sidebar? And then there is also Find References With Access Type.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote last edited by JonB
      #3

      @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!!

      1 Reply Last reply
      0
      • aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote last edited by
        #2

        @JonB Do you mean the Call Hierarchy in the sidebar? And then there is also Find References With Access Type.

        Qt has to stay free or it will die.

        JonBJ 1 Reply Last reply
        1
        • aha_1980A aha_1980

          @JonB Do you mean the Call Hierarchy in the sidebar? And then there is also Find References With Access Type.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote last edited by JonB
          #3

          @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!!

          1 Reply Last reply
          0
          • JonBJ JonB has marked this topic as solved

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved