views:

310

answers:

2

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?

+4  A: 

You can hit Ctrl - (Ctrl and the minus sign) I believe. Also, Ctrl Shift minus navigates forward.

Jon
+1  A: 

By using the Navigate Backwards command. You can find a more detailed description here.

Enrico Campidoglio