Visual Studio Hotkeys
Folx, shortcuts are the wave of the future.
Coding will be SO. MUCH. FASTERRRR.
Learn these hotkeys and you'll be coding at lightning speed in no time!
Standard Hotkeys
Most of these work in other apps, too.
Task | Command |
---|---|
Zoom In | Ctrl ++ |
Zoom Out | Ctrl -- |
Copy | Ctrl + C |
Paste | Ctrl + V |
Cut (Copy and Delete) | Ctrl + X |
Undo | Ctrl + Z |
Redo | Ctrl + Y |
Find on page | Ctrl + F |
Find in Solution | Ctrl + Shift + F |
Move to beginning of line | Home |
Move to end of line | End |
Move to next/previous word | Ctrl + Left/Right Arrow |
Move to beginning/end of document/editor/window | Ctrl + Home/End |
Visual Studio specific hotkeys
Task | Command |
---|---|
Run all unit tests | Ctrl+R, A |
Format Document | Ctrl+K+D |
Comment/Uncomment block of code | Ctrl+K+C/Ctrl+K+U |
Move current line up/down | Alt + UpArrow / Alt + DownArrow |
Collapse all regions | Ctrl+M+O |
Navigate Forward/Backward | Ctrl+–/Ctrl+Shift+– |
Full Screen without losing the panels | Alt+Shift+Enter |
Autocomplete what you've selected in Intellisense | Tab |
Find Matching braces | Ctrl+] |
Duplicate current line of code | Ctrl+C+V (with cursor on line and nothing selected) |
Cycle through the list of clipboard contents | Ctrl+Shift+V |
Format Selection | Ctrl+K+F |
Collapse/Expand selection | Ctrl+M+H/Ctrl+M+U |