Manage your code layout and cleanliness.
| Action | Shortcut |
|---|---|
| Duplicate Line | Ctrl + D |
| Delete Line | Ctrl + Shift + L |
| Comment Selection | Ctrl + K then C |
| Uncomment Selection | Ctrl + K then U |
| Auto-format File | Ctrl + K then D |
| Increase Indentation | Tab |
| Decrease Indentation | Shift + Tab |
Control execution flow while testing.
| Action | Shortcut | Note |
|---|---|---|
| Toggle Breakpoint | F9 |
Adds/removes the red dot |
| Start Debugging | F5 |
Runs to the next breakpoint |
| Stop Debugging | Shift + F5 |
Kills the app |
| Restart Debugging | Ctrl + Shift + F5 |
Stops and immediately restarts |
| Run Without Debugging | Ctrl + F5 |
Runs faster, no breakpoints hit |
| Step Over | F10 |
Run current line, go to next |
| Step Into | F11 |
Go inside the method call |
| Step Out | Shift + F11 |
Finish current method, return to caller |
Find files and text quickly.
| Action | Shortcut |
|---|---|
| Find in Files (Global) | Ctrl + Shift + F |
| Go to Solution Explorer | Ctrl + Alt + L |
| Show Output Window | Ctrl + Alt + O |
| Show Error List | Ctrl + \ then E |
Hide or show sections of code to reduce clutter.
| Action | Shortcut |
|---|---|
| Collapse All | Ctrl + M then A |
| Expand All | Ctrl + M then X |
| Toggle Current Section | Ctrl + M then L |
Manage files and the IDE layout.
| Action | Shortcut | Type |
|---|---|---|
| Build Project | Ctrl + Shift + B |
Shortcut |
| Save All | Ctrl + Shift + S |
Shortcut |
| Close All Documents | Alt → W → L |
Menu Sequence |
| Reset Window Layout | Alt → W → R |
Menu Sequence |
| Create New Folder | Alt → P → D |
Menu Sequence |