Extensions, keyboard shortcuts, and pro tips to supercharge your Visual Studio workflow.
Hand-picked extensions that meaningfully improve your daily workflow in Visual Studio.
The shortcuts you reach for every day — organised by task. Click a group to expand.
| Ctrl + . | Quick Actions & Refactoring — code fixes, generate boilerplate |
| F2 | Rename symbol across the entire codebase |
| Ctrl + D | Duplicate current line |
| Ctrl + K, D | Format Document — auto-indent entire file |
| Ctrl + K, F | Format Selection |
| Ctrl + K, C | Comment selected lines |
| Ctrl + K, U | Uncomment selected lines |
| Ctrl + M, O | Collapse all code regions / methods |
| Ctrl + M, L | Toggle all outlining (expand / collapse) |
| Ctrl + Space | Trigger IntelliSense manually |
| F5 | Start Debugging |
| Shift + F5 | Stop Debugging |
| Ctrl + Shift + F5 | Restart Debugging |
| F9 | Toggle Breakpoint on current line |
| Ctrl + Shift + F9 | Delete All Breakpoints |
| F10 | Step Over — execute current line and advance |
| F11 | Step Into — dive into the called function |
| Shift + F11 | Step Out — finish current function and return to caller |
| Ctrl + F10 | Run to Cursor — resume until the line under cursor |
| Ctrl + Shift + B | Build Solution |
| Ctrl + F5 | Start Without Debugging |
| Ctrl + Break | Cancel Build |
| Alt + F7 | Open Project Properties |
| Ctrl + Alt + L | Solution Explorer |
| Ctrl + \, E | Error List |
| Ctrl + Alt + O | Output Window |
| Ctrl + Tab | Switch between open documents / tool windows |
| Ctrl + W | Close active document tab |
| Ctrl + K, W | Close all document tabs |
Powerful Visual Studio features that many developers never discover.
Hold Alt and click to place multiple cursors anywhere, or use Alt + Shift + ↑/↓ to extend a column selection. Edit dozens of identical spots in a single stroke — no search-and-replace needed.
Press Ctrl + K, K to toggle a bookmark, then Ctrl + K, N / P to jump between them. Open the Bookmark Window (Ctrl + K, W) to name, organise, and navigate all bookmarks across the solution.
Type a snippet alias (e.g. prop, ctor, for, try) and press Tab twice to expand it into a full code template. Create your own reusable snippets via Tools → Code Snippets Manager.
Save a .slnf file that loads only a chosen subset of projects. This dramatically reduces load time and IntelliSense indexing in large solutions. Right-click projects in Solution Explorer → Save as Solution Filter.
Modify code while the debugger is paused at a breakpoint, then press F5 to resume without restarting the session. Works for most C# and C++ changes. Enable it under Tools → Options → Debugging → Edit and Continue.
The subtle indicators above each method and class showing reference count, last author, and unit test status. Click any indicator to drill in. Customise what is shown under Tools → Options → Text Editor → All Languages → CodeLens.
Comments
Sign in with GitHub to leave a comment or reaction.