Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30825

Symbol peek functionality similar to what visual studio (code) has

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Editors

      Hello,

       

      I have a feature request:

      Currently if I want to see the definition of a symbol I rightclick and then click "Follow Symbol Under Cursor" which then takes me to a new tab that shows the defenition. This works, but having it go to another tab is annoying and makes it difficult to look at while also looking at the original code I was writing. This can more or less be solved my making a second pane and opening the file there, but then I lose half my screen when I might only want to see a little bit of the symbol's defenition. Additionally opening the symbol in a new pane is annoying as the "Follow Symbol Under Cursor" button changes the file open in the current pane and can't change whats open in another pane.

      So I would like to propose adding "peek" support to Qt Creator. This feature would allow right clicking (or a keybind) which then opens a smaller pane inside the code showing the definition of the symbol. This is a feature found in visual studio and visual studio code (and perhaps other software as well). I attached a screenshot to show what this feature would look like.

       

      Would it be possible for you to add this to Qt Creator? Assuming Qt allows inserting widgets into a text widget (or overlaying it and then changing line height for one line) then I don't think it would be a very complex task.

       

      Would love to hear from you!

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            davschul David Schulz
            hitagi Hitagi Senjougahara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes