Visual Studio window which shows list of methods

2019-01-16 17:26发布

In Visual Studio, is there a window which shows list of methods in the active class? A small window like the Solution Explorer would be great. In Eclipse, there is one.

19条回答
对你真心纯属浪费
2楼-- · 2019-01-16 17:55

With Visual Studio 2010

You choose Tools->Settings->Expert Settings

On the left-bottom corner, you will see the tab "Class View" right next tab "Solution Explorer"

In the top area of "Class View" layout, you will see the list of class name, enum, struct, ... In the bottom area of "Class View layout, you will see the list of member for these class, enum or struct

查看更多
一纸荒年 Trace。
3楼-- · 2019-01-16 17:56

My best way to do this is, that i open the Code Definition Window, under View -> Code Definition Window or press Ctrl + W,D .

And then i got it floated and i have the definitions of methods in separate windows.

Regards

查看更多
乱世女痞
4楼-- · 2019-01-16 17:57

grep -i " sub " filename.vb > methods.txt grep -i " function " filename.vb >> methods.txt

查看更多
小情绪 Triste *
5楼-- · 2019-01-16 17:59

Do you mean the class view window (View->Class View, or Ctrl+W,C)?

You also have the intellisence popup-window

查看更多
淡お忘
6楼-- · 2019-01-16 18:00

Shortcut to Navigation Bar is Ctrl+F2. Takes you to the types dropdown first. Press tab to go to method dropdown, and then enter on a method to go to that one.

查看更多
混吃等死
7楼-- · 2019-01-16 18:01

There is no direct equivalent to the Outline View in Eclipse. The closest thing I've found is the Class View, which lists all classes and their members/methods. There is a search box at the top to narrow the selection.

查看更多
登录 后发表回答