44

In Visual Studio there is a drop down list in the top right hand corner that you can use to navigate to the various members in the class. Does anyone know if there is a hot key to open this ddl?

user829755
  • 1,489
  • 13
  • 27
Simon Keep
  • 9,886
  • 9
  • 63
  • 78

6 Answers6

53

I think you're looking for Ctrl + F2, which moves the cursor to the navigation bar at the top of a code view. From there, you can press Tab to move the cursor over to the member list.

For this (and pretty much every other Visual Studio hotkey/shortcut key combination), see here.

Donut
  • 110,061
  • 20
  • 134
  • 146
12

Visual Studio 2017+: They now support Resharper-like shortcuts. They work pretty well, too.

  • Ctrl+T - 'Go to All' (class/member/file), type m MyProp for members only
  • Alt+\ - 'Go to Member in current file'

enter image description here

Cristian Diaconescu
  • 34,633
  • 32
  • 143
  • 233
8

Using VS 2008, I still don't know how to get directly to the Members dropdown which is what I want. But, the key bindings will be different for everyone. The command you want to search for under Options > Keyboard > Show commands containing: is Window.MoveToNavigationBar.

Glenn
  • 1,687
  • 15
  • 21
2

Assuming you are using the default keybindings packaged with Visual Studio, CTRL+F2 will focus the top-right drop-down list, and you can then navigate members by pressing TAB and using the arrow keys.

NIMISHAN
  • 1,265
  • 4
  • 20
  • 29
Daniel May
  • 8,156
  • 1
  • 33
  • 43
2

In my install of VS 2013, this is called Window.MoveToNaviationBar and is bound to Ctrl+F8. This is visual C++ settings.

NIMISHAN
  • 1,265
  • 4
  • 20
  • 29
sandos
  • 842
  • 1
  • 10
  • 23
0

Use Ctrl + F2 to get up there, then a click on Tab will get you to the member list instead of the object list.

Greg D
  • 43,259
  • 14
  • 84
  • 117