Search code examples
visual-studio-2010editor

F12 Jump to method -> go back to previous method after making the jump?


I can jump to code if I click in a method name and hit F12. But, is there a keyboard short cut to jump back to the previous code editor location?


Solution

  • Ctrl + - : (that's Ctrl and Minus) will navigate back (maps to View.NavigateBackward).

    See this list of pre-defined keyboard shortcuts on MSDN.