There are some not so obvious shortcuts I use everyday in Visual Studio that make my life a lot easier, so I thought I’d share them.

 

Ctrl + Up Arrow

Scrolls up without moving the caret

Ctrl + Down Arrow

Scrolls down without moving the caret

Ctrl + Home *

Moves the caret to the top of the file

Ctrl + End *

Moves the caret to the bottom of the file

Ctrl + Page Up *

Moves the caret to the top of the page without changing which part of the file is visible

Ctrl + Page Down *

Moves the caret to the bottom of the page without changing which part of the file is visible

Ctrl + Left Arrow *

Moves a whole word to the left

Ctrl + Right Arrow *

Moves a whole word to the right

Ctrl + Delete

Deletes the following whole word

Ctrl + Backspace

Deletes the previous whole word

Ctrl + Left Mouse Click

Select the whole word under the mouse cursor (equivalent to double click)

Shift + Alt

Block selection (both arrows keys and mouse can be used with this)

Ctrl + C without selecting any text

Copies the whole line

Ctrl + X without selecting any text

Cuts the whole line (using the shortcut for left-handed users, which is Shift + Delete, gives the “illusion” of deleting a whole line)

 

* Shortcut can be combined with Shift to select