Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display the TypeScript class outline in Visual Studio

When coding a TypeScript class Visual Studio (Pro 2012) gives me a class outline drop-down at the top left. You can see it in the screen shot.

enter image description here

Is there any way to have this displayed all the time? Like the Code Outline feature in FlashDevelop. I.e. docked to a window within VS so I can easily navigate to the methods.

like image 449
PhotonStorm Avatar asked Oct 11 '12 11:10

PhotonStorm


1 Answers

You can open Class View using the toolbar menu:

View > Class View

You can then view the contents of your classes, similar to that drop down, but docked wherever you like.

This doesn't currently show you the contents of a TypeScript file though - they aren't shown in the top list of classes.

Class View - With Methods

like image 160
Fenton Avatar answered Oct 05 '22 23:10

Fenton