visual-studio 缺少类名和方法名下拉列表(visual studio 设置)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1441207/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
class name and method name dropdown list is missing (visual studio setting)
提问by Eric
Does anyone know how to get my class name and method name dropdown lists again? It's the dropdown lists that are usually above the code. It's just a setting but i can't seem to find it. I don't want to reset my setting btw. I shouldn't have to.
有谁知道如何再次获取我的类名和方法名下拉列表?它是通常位于代码上方的下拉列表。这只是一个设置,但我似乎无法找到它。顺便说一句,我不想重置我的设置。我不应该这样做。
回答by AJ.
回答by David
Tools - Options - Text Editor - (choose the type of file - C#, html, etc) - General
工具-选项-文本编辑器-(选择文件类型-C#、html等)-常规
In the bottom section of the form (The "Display" area) make sure that "Navigation Bar" is checked.
在表单的底部(“显示”区域)确保选中“导航栏”。
回答by gd73
Actually there is a bug in VS2013, where if you place VS on the monitor on the left side, and this is not your primary monitor, then the dropdowns will not work.
实际上VS2013有一个bug,如果你把VS放在左边的显示器上,而这不是你的主显示器,那么下拉菜单就不起作用了。
回答by Andreas Reiff
I came here searching for a solution for javascript/node.js specifically (in VS 2013). Only by doing further search I found out that this feature has been removed (from RC) due to stability/performance reasoning and is not available anymore.
我来到这里专门寻找 javascript/node.js 的解决方案(在 VS 2013 中)。只有通过进一步搜索,我才发现由于稳定性/性能原因,此功能已被删除(从 RC 中)并且不再可用。
Also, I did not see this added again through either node tools or web essentials.
此外,我没有看到通过节点工具或 Web 要素再次添加此内容。
回答by Arthur Dent
In VS2015 I just had to toggle this setting off then back on again to get the navigation bar back.
在 VS2015 中,我只需要关闭此设置然后再次打开即可恢复导航栏。
回答by sizzler4eva
If you want a list of javascript functions that works similar to the navigation bar in the VB or C# pages then search for the extension inside Tools > Extensions and Updates...
如果您想要一个与 VB 或 C# 页面中的导航栏类似的 javascript 函数列表,请在“工具”>“扩展和更新...”中搜索该扩展。
Javascript Map Parser
Javascript 地图解析器
You have to add in aspx into the pages is parses but it's exactly what I needed to quickly find functions in a big section of Javascript I had.
您必须在页面中添加 aspx 解析,但这正是我在我拥有的大部分 Javascript 中快速查找函数所需要的。


