visual-studio-2008-sp1

Is there a "back" button/hotkey for navigation in Visual Studio 2008?


I jumped to a line in a code file in Visual Studio using "Go to definition". I am now lost in the file and I want to go back to the line I was at before. How do I do it?


Solution

  • You can hit Ctrl+- I believe. Also, Ctrl+Shift+- navigates forward.

    Depending on your mouse software, you should be able to map those keyboard shortcuts to your mouse's back/forward buttons. You can typically do this with gaming mice, and there's probably third-party gaming software that lets you do it also. Mapping "Find all references" to a button is great too.