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

James picture James · Oct 7, 2011 · Viewed 58.3k times · Source

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?

Answer

Oded picture Oded · Oct 7, 2011

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

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