在Visual Studio 2010中的工具栏上显示当前功能 [英] Show Current Function on Toolbar in Visual Studio 2010

查看:73
本文介绍了在Visual Studio 2010中的工具栏上显示当前功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望显示光标所在的当前函数.我非常想念VS6中的此功能,我曾尝试自定义工具栏,但是在数百个工具栏项目的迷宫中找不到它也就不足为奇了,有谁知道它叫什么以及它的位置?还是有可能?

I wish to show the current function my cursor is in. I sorely miss this feature from VS6, I have tried customizing the toolbars but it should be no surprise I can't find it within the maze of hundreds of toolbar items, does anyone know what it is called and where its located? Or if its possible?

让我给你举个例子.我正在调试,看到变量设置为某个值,我需要检查设置的位置,因此当光标移至下一个结果时,我搜索变量名称Ctrl-F,F3,F3,F3如果我需要很快知道它的功能,滚动或任何鼠标交互是该功能的主要功能,那么在开发过程中,我有90%的时间会使用键盘.

Let me give you an example. I'm debugging and see a variable is set to a certain value, I need to examine where this is set, so I search for variable name, Ctrl-F, F3, F3, F3, when the cursor is moved to the next result and if its in the middle of function I need to know very quickly what function its in, scrolling or any mouse interaction is a major slowdown in this process, I use the keyboard 90% of the time during my dev.

PS:Visual Studio开发人员注意事项.当您的工具栏项目列表包含超过5,000个项目时,可能是时候使其可搜索了!

PS: note to visual studio developers. When you toolbar item list contains over 5,000 items it might be time to make it searchable lol!

推荐答案

在Visual Studio 2010中,代码编辑器窗口的顶部有一个工具栏,称为导航栏".在C ++,C#和VB中,导航栏中的右侧下拉列表会动态更新,以反映光标所在的当前函数或方法.您可以在此处了解有关导航栏的更多信息:

In Visual Studio 2010, the code editor window has a toolbar at the top called the "Navigation Bar". In C++, C#, and VB the right-hand drop down in the Navigation bar is dynamically updated to reflect the current function or method that the cursor is in. You can read more about the navigation bar here:

这篇关于在Visual Studio 2010中的工具栏上显示当前功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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