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.
7 Answers
-
haha, yeap, exactly, I spent like 10min in a new VS installation to find how to disable it :D such a waste of vertical space...– mikusCommented Jul 3, 2014 at 21:10
-
1
-
1Was checked under "All Languages" had to check in "Basic" to make it appear. Commented Mar 5, 2016 at 20:46
-
1Spent 10 minutes in new VS install trying to enable this. Best short functionality in VS!!!– htm11hCommented Nov 4, 2017 at 13:22
-
This is still a "feature" in VS2019. If the class and method dropdowns are missing, toggle the Navigation Bar setting on/off/on and it should re-appear.– robnickCommented Feb 27, 2020 at 3:39
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.
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.
-
This bug seems to have been fixed with Visual Studio Update 3.– gitsitgoCommented Aug 21, 2014 at 18:21
-
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.
Also, I did not see this added again through either node tools or web essentials.
In VS2015 I just had to toggle this setting off then back on again to get the navigation bar back.
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.
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)