Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View Class Hierachy in VS Code

Does VS Code inherently come with any tool other than Ctrl+Shift+O to view the entire class hierarchy within a project? Think similar to a Visual Studio solution or Eclipse project.

I've looked around the VS Code extension marketplace and have not seen one. It would be very useful to see this kind of tree for a TypeScript based project instead of seeing just the imports from a particular .ts file

If anyone knows of one, please share!

like image 784
trebleCode Avatar asked Mar 14 '19 17:03

trebleCode


People also ask

How do you open call hierarchy in VS Code?

Use the Call Hierarchy window To display the Call Hierarchy window, right-click in the code editor on the name of a method, property, or constructor call, and then select View Call Hierarchy.

How do you find the class in VS Code?

1) Search file ( CTRL + P ) Simply type in the full or partial name and VSCode will automatically look into your current workspace and display the ones that contain the name you just wrote (at the top of the list would be the files already open).

Where is the status bar in VS Code?

The Status Bar sits at the bottom of the VS Code workbench and displays information and actions that relate to your workspace. Items are placed into two groups: Primary (left) and Secondary (right).

How do I display VS Code menu?

Go to VSCode settings ( CTRL+, or CMD+, ) and search for shortcut menu bar . Toggle buttons from there.


1 Answers

If you're in the Explorer, the built-in OUTLINE view does exactly this. I am apparently not paying attention.

like image 187
trebleCode Avatar answered Oct 18 '22 00:10

trebleCode