-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: File Outline View for TypeScript #10788
Comments
@MartinHaeusler There is a quick outline available when you type Guess this works for you. Otherwise let us know what you are looking for in addition. |
@sandy081 Thanks for the suggestion, that's already a good start. I would prefer a "permanent" view though, something that visually sticks around all the time, like a sidebar, and is always in sync with the current file in the editor. In the As I said, this menu is a good start for me, but not quite what I would like to have. |
By the way, the full-blown Visual Studio doesn't have that feature either. It needs third party plugins to achieve that, for example ReSharper for C#: https://www.jetbrains.com/help/resharper/2016.2/Reference__Windows__File_Structure_Window.html |
One more detail: the eclipse outline allows to switch the display between alphabetic member sorting and "as occurs in file" sorting with a single UI button press - a very handy feature. |
@MartinHaeusler That's a good input. We already have a feature request for having a separate view for outline - #5605. I would make this a dup of #5605. Please subscribe to that item and provide feedback there. Thanks. |
Alright, thanks, I'll do that. |
It would be very useful to have a structural outline of the currently opened TypeScript file in VScode.
For an example of what I mean, check out this screenshot of an outline from a Java file in Eclipse:
It displays the names of all types on top-level, and folded within them are the names of all fields and methods, including their names as well as parameter and return types. Clicking on a member in the outline jumps to the declaration. The icons indicate if the method is public (green) or protected (yellow).
As somebody who used Eclipse extensively in the past, I find it very difficult to program without such a view.
The text was updated successfully, but these errors were encountered: