Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012: List of all Methods in class

In VS 2010, is there a way to see all the Methods in a docked window for the currently viewed class. Clicking the method would let me navigate to it.

This question is for design mode, while editing a class in the IDE.

I own Resharper, but don't see a way to see all the methods in a nice list as a feature.

like image 333
Ian Vink Avatar asked Dec 16 '12 19:12

Ian Vink


3 Answers

If you have Resharper at your disposal as you indicate, you can use the File Structure window. It looks like this:

enter image description here

To open it, click Resharper, Windows, "File Structure". The window is dockable, and updates as your current file changes.

enter image description here

like image 171
vcsjones Avatar answered Oct 10 '22 05:10

vcsjones


View -> Class View or Ctrl+Shift+C You see the different classes on the top panel and the methods on the bottom panel.

Also, you have the method list on the top part of your tab: enter image description here

like image 24
Blachshma Avatar answered Oct 10 '22 04:10

Blachshma


You have VS 2012. This version has enancements in Solution Explorer.
If you expand a class file node you will see all classes.
And if you expand a class node you will see all its members.

See http://blog.wpfwonderland.com/2012/08/04/visual-studio-2012-tidbits-01-class-members-in-solution-explorer for an explanation.

like image 36
thersch Avatar answered Oct 10 '22 03:10

thersch