Can't use "Symbols" pane as "table of contents" without searching for symbols #63515
Unanswered
zifyoip
asked this question in
Code Search and Navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
There is a "Symbols" pane that comes up at the right side of the window when viewing code. For example:
I think this pane is most useful as a "table of contents" to navigate the code. This is especially useful to familiarize myself with new code: I can get an overview of the classes and functions and so on, and click on one when I want to get more detail, and then (ideally) continue browsing the list.
This almost works: I can scroll down the list, click on a symbol, and go to its definition. The annoying thing is that when I do this, the pane changes to show search results for that symbol:
I can click the back arrow to go back to all symbols, but then I lose my place in the list and have to find where I was. This is especially annoying for large files, which is exactly the case in which a "table of contents" is most useful.
Ideally these two actions would be decoupled:
Less ideally, when I click to go back to all symbols, at least take me back to where I was in the list.
Beta Was this translation helpful? Give feedback.
All reactions