Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know... How to reach the Navigation bar via the keyboard? - #100

At the very top of the editor and just below the File Tab Channel, you'll find the Navigation Bar.  The left combo box lists objects and the right lists the select objects members.  This is very useful when you need to jump to various functions throughout a large solution, or you want to see what functions an object has (or is missing).

Navigation Bar

To jump to the navigation bar via the keyboard, press Ctrl+F2.  This is bound to the command Window.MoveToNavigationBar, so your keyboard shortcut mileage may vary.  To toggle between the Objects list and the Members list, press Tab or Shift+Tab. 

Additionally, you can hide (or show) the navigation bar by going to Tools - Options - Text Editor - All Languages - General and setting the Navigation bar option to the desired setting.  Note that since this is found in All Languages, you can customize this for any listed language under the Text Editor node.

Display Navigation Bar Option

Technorati tags: ,
Posted: Wednesday, December 05, 2007 3:00 AM by saraford

Comments

ccatto said:

Hey now Sarah,

Ctrl+F2 a new hotkey learned today. I love it.

Thx 4 the info,

Catto

# December 5, 2007 9:38 AM

Alan McF said:

You must be a mind reader!  I was looking for that keystroke just the day before. :-)

# December 7, 2007 2:14 AM

MAny said:

I tried with IE7 but it's not working.

# December 9, 2007 1:09 AM

Alan McF said:

@Sara: do you know if there's one for the drop-down in the Output window i.e. to select from the Build/Debug/etc list.

Ohhh wait its Alt+S (&Show output from:) how did I not see that one earlier. :-,(

@MAny: The tip is for Visual Studio...  For IE, one can use F4 which opens the navigation bar drop-down, or Alt+D ('d' for aDdress bar) to just put the cursor there.

# December 12, 2007 10:22 AM

Arild said:

Ctrl-F12, Tab is a horribly awkward key combination, especially for an operation this common. I ended up writing my own addin to focus on and drop down those combos.

# December 16, 2007 3:46 PM

xjb said:

# December 17, 2008 8:24 PM

Секреты Visual Studio said:

В самом верху окна редактора, чуть ниже закладок файлов, находится Navigation bar (или Панель переходов

# March 13, 2009 5:00 AM
New Comments to this post are disabled
Page view tracker