Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio jump-to shortcut

What it the Visual Studio shortcut to switch to recently edited line of code ? (useful after accidentally pressing Page Down for example). I saw my mother using it but couldn't spot what the combination was. Also couldn't find on internet.

like image 996
Grant Smith Avatar asked Dec 28 '10 17:12

Grant Smith


2 Answers

Ctrl + - (that's a hyphen) will take to back to the last place you navigated from.

You can download PDFs of common keyboard shortcuts for visual studio 2010 here.

like image 53
Oded Avatar answered Oct 16 '22 19:10

Oded


Ctrl + - will navigate backward. Ctrl + Shift + - will go forward

Note: This won't work if you use the minus from the keypad

like image 23
Conrad Frix Avatar answered Oct 16 '22 19:10

Conrad Frix