126

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.

Charles
  • 318
  • 2
  • 7
Eric
  • 7,930
  • 17
  • 96
  • 128

7 Answers7

270

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

navBar

(Picture is from VS2013)

AJ.
  • 16,368
  • 20
  • 95
  • 150
12

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.

David
  • 72,686
  • 18
  • 132
  • 173
11

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.

gd73
  • 635
  • 6
  • 21
1

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.

Andreas Reiff
  • 7,961
  • 10
  • 50
  • 104
0

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

0

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.

0

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)

estinamir
  • 435
  • 5
  • 11