Visual Studio Windows Shortcuts
| Action | Windows Shortcut |
|---|---|
| File & Project | |
| New file | CtrlN |
| New project | CtrlShiftN |
| Open file | CtrlO |
| Save | CtrlS |
| Save all | CtrlShiftS |
| Close document | CtrlF4 |
| CtrlP | |
| Editing | |
| Undo | CtrlZ |
| Redo | CtrlY |
| Cut | CtrlX |
| Copy | CtrlC |
| Paste | CtrlV |
| Select all | CtrlA |
| Duplicate selection or line | CtrlD |
| Delete line | CtrlShiftL |
| Comment selection | CtrlK,CtrlC |
| Uncomment selection | CtrlK,CtrlU |
| Format document | CtrlK,CtrlD |
| List members (IntelliSense) | CtrlJ |
| Complete word | CtrlSpace |
| Quick actions / refactor | Ctrl. |
| Rename | CtrlR,CtrlR |
| Navigation | |
| Go to definition | F12 |
| Peek definition | AltF12 |
| Find all references | ShiftF12 |
| Go to all | CtrlT |
| Go to line | CtrlG |
| Navigate backward | Ctrl- |
| Navigate forward | CtrlShift- |
| Solution Explorer | CtrlAltL |
| Search & Replace | |
| Find | CtrlF |
| Replace | CtrlH |
| Find in files | CtrlShiftF |
| Replace in files | CtrlShiftH |
| Find next | F3 |
| Find previous | ShiftF3 |
| Build & Debug | |
| Build solution | CtrlShiftB |
| Start debugging | F5 |
| Start without debugging | CtrlF5 |
| Stop debugging | ShiftF5 |
| Toggle breakpoint | F9 |
| Step over | F10 |
| Step into | F11 |
| Step out | ShiftF11 |
| Run to cursor | CtrlF10 |