Ian Vink
Ian Vink

Reputation: 68740

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.

Upvotes: 7

Views: 18603

Answers (3)

thersch
thersch

Reputation: 1396

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.

Upvotes: 1

vcsjones
vcsjones

Reputation: 141588

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

Upvotes: 15

Blachshma
Blachshma

Reputation: 17385

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

Upvotes: 8

Related Questions