类名和方法名下拉列表丢失(Visual Studio 设置)

发布于 2024-08-05 06:13:10 字数 86 浏览 7 评论 0原文

有谁知道如何再次获取我的类名和方法名下拉列表?下拉列表通常位于代码上方。这只是一个设置,但我似乎找不到它。顺便说一句,我不想​​重置我的设置。我不应该这样做。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

傲影 2024-08-12 06:13:10

工具-->选项...
文本编辑器-->所有语言
检查“导航栏”。

navBar

(图片来自VS2013)

Tools-->Options...
Text Editor-->All Languages
Check "Navigation Bar."

navBar

(Picture is from VS2013)

时光匆匆的小流年 2024-08-12 06:13:10

工具 - 选项 - 文本编辑器 - (选择文件类型 - C#、html 等) - 常规

在表单的底部部分(“显示”区域)确保选中“导航栏”。

Tools - Options - Text Editor - (choose the type of file - C#, html, etc) - General

In the bottom section of the form (The "Display" area) make sure that "Navigation Bar" is checked.

诗酒趁年少 2024-08-12 06:13:10

实际上VS2013有一个bug,如果你把VS放在左边的显示器上,而这不是你的主显示器,那么下拉菜单将不起作用。

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.

眉目亦如画i 2024-08-12 06:13:10

我来这里专门寻找 javascript/node.js 的解决方案(在 VS 2013 中)。仅通过进一步搜索,我发现由于稳定性/性能原因,此功能已(从 RC 中)删除,并且不再可用。

https://connect.microsoft.com/VisualStudio/feedback/details/806325/javascript-navigation-bars-are-missing-after-upgrading-from-vs2013-pro-rc-to-rtm

此外,我没有看到通过节点工具或 Web Essentials 再次添加此功能。

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.

https://connect.microsoft.com/VisualStudio/feedback/details/806325/javascript-navigation-bars-are-missing-after-upgrading-from-vs2013-pro-rc-to-rtm

Also, I did not see this added again through either node tools or web essentials.

一片旧的回忆 2024-08-12 06:13:10

在 VS2015 中,我只需关闭此设置然后再次打开即可恢复导航栏。

In VS2015 I just had to toggle this setting off then back on again to get the navigation bar back.

他夏了夏天 2024-08-12 06:13:10

如果您想要一个与 VB 或 C# 页面中的导航栏类似的 javascript 函数列表,请在“工具”>“工具”中搜索扩展。扩展和更新...

Javascript 地图解析器

您必须将 aspx 添加到解析页面中,但这正是我在 Javascript 的大部分中快速查找功能所需要的。

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...

Javascript Map Parser

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.

向地狱狂奔 2024-08-12 06:13:10

确保您在代码隐藏文件中。

就我而言,我正在查看 .aspx 页面内的代码(VB)服务器端代码,并且下拉列表仅适用于文件后面的代码(.aspx.vb 或 aspx.cs)

Make sure you in code behind file.

In my case I was looking at code (VB) server side code inside .aspx page, and the dropdown only for code behind files (.aspx.vb or aspx.cs)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文