Visual Studio 2012: List of all Methods in class

前端 未结 3 1682
萌比男神i
萌比男神i 2021-01-12 21:01

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 i

相关标签:
3条回答
  • 2021-01-12 21:15

    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

    0 讨论(0)
  • 2021-01-12 21:28

    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.

    0 讨论(0)
  • 2021-01-12 21:30

    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

    0 讨论(0)
提交回复
热议问题