Navigating with the Back button in Visual Studio

I have often wanted a Back button in Visual Studio, like there is in every browser. For instance if you right click some object and select “Go To Definition” then it would be nice to be able to jump back to where you where before without setting a bookmark or similar.

Turns out there actually are a back button, it’s just not accessible from the Edit menu, you just have to get the correct toolbar visible. To get it:

  • Right click on the toolbar (any button) and select “HTML source editing
  • The back button is the first button (looks like a document and a small blue arrow (Forward is here too)

To save monitor space, the “HTML source editing” can replace the “Text Editor” toolbar if you use keyboard shortcuts for bookmarks and intellisense.

The only minus is that apparently there are no keyboard shortcut for either Back or Forward button.

Update: There are shortcuts … CTRL+- for Back (I couldn’t get forward to work) or use navigation buttons on the mouse.

 

Advertisements

3 Responses to Navigating with the Back button in Visual Studio

  1. xerxesb says:

    I realise this article is quite old, but in case you’re interested, ++ is the default keybinding to navigate forward.

  2. xerxesb says:

    grr…wordpress ate my mark-up.

    the keystroke is <ctrl>+<shift>+<->

  3. Vegio says:

    In VS2010
    Back: +
    Forward: + +

    Then a question:
    I use Shift+F12 for “find symbols”. When I use this for a field or property, it would useful to be able to distinguish between read and write. If a field is read like 200 times, it’s hard to find the, say, two places where it is written. Anybody out there who knows how to do this?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: