Master C# Dev Tools with these keyboard shortcuts.
General Shortcuts
| Shortcut | Description |
|---|
Alt+W | Open Extension Walkthroughs |
Alt+P | Open Advanced Search dialog |
Shift+Alt+L | Reveal current file in Solution Explorer |
Solution Explorer Shortcuts
These shortcuts are active when the Solution Explorer is focused:
| Shortcut | Description |
|---|
Shift+F2 | Quick Add (add new file/item) |
F2 | Rename selected item |
Delete | Delete selected item |
Ctrl+C | Copy selected item |
Ctrl+X | Cut selected item |
Ctrl+V | Paste item |
Debugging Shortcuts
| Shortcut | Description |
|---|
F5 | Debug Startup Project |
Ctrl+F5 | Run Startup Project without debugging |
Shift+Ctrl+F5 | Select Startup Project |
Bookmark Shortcuts
| Shortcut | Description |
|---|
Alt+Shift+Down | Toggle bookmark at current line |
Alt+Shift+Right | Go to next bookmark (globally) |
Alt+Shift+Left | Go to previous bookmark (globally) |
Alt+Shift+Up | Show bookmark and breakpoint quick-pick |
Editor Shortcuts
| Shortcut | Command | Description |
|---|
Ctrl+. | Quick Actions | Access refactoring options |
F12 | Go to Definition | Navigate to symbol definition |
Alt+F12 | Peek Definition | View definition inline |
Test Explorer Shortcuts
These shortcuts are available when working with the Test Explorer:
| Shortcut | Description |
|---|
Ctrl+R, T | Run All Tests |
Ctrl+R, Ctrl+T | Run Failed Tests |
Ctrl+R, C | Run Tests in Current Context |
Customizing Shortcuts
You can customize these shortcuts:
- Open VS Code settings (
Ctrl+,)
- Search for "keyboard shortcuts"
- Click on "Keyboard Shortcuts" or press
Ctrl+K Ctrl+S
- Search for "csharp-dev-tools" to see all available commands
- Click on any command to change its shortcut