如何在Visual Studio中显示代码大纲?
Eclipse中存在这种东西:
This kind of stuff exists in Eclipse:
但是我还没有在Visual Studio中找到它.是否有这样一个窗口来显示代码概要?
But I've not found it in Visual Studio yet. Is there such a window to show code outline at all?
我尝试了文档大纲"和类视图"窗口.类视图已关闭,但仅显示类信息,它也可以提供函数信息吗?
I tried both Document Outline and Class View windows. The Class View is close, but it only shows class information, can it come up with function info also?
-
不是免费的,但是如果您安装Visual AssistX,则每个文档都会有一个下拉框,列出文件中的所有方法(按字母顺序或它们发生的顺序)
-
not free, but if you install Visual AssistX, each document gets a dropdown box listing all methods in a file (alphabetically or in the order they occur)
再次检查类视图",它确实显示函数(但不是按文档显示).还要检查代码定义窗口",与类视图"结合使用时非常好.
check Class View again, it does show functions (but not per document). Also check out the Code Definition Window, extremely nice when combined with Class View.
-