如何在Visual Studio中显示代码大纲? [英] How to show code outline in Visual Studio?

查看:1007
本文介绍了如何在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.

      这篇关于如何在Visual Studio中显示代码大纲?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆