Visual Studio Code (VS Code) shortcut keys help programmers write, edit, and manage code quickly. These shortcuts improve coding speed and productivity.
VS Code shortcut keys are keyboard combinations used to perform coding and editing tasks without using the mouse.
| Shortcut | Function |
|---|---|
| Ctrl + N | Create a new file. |
| Ctrl + O | Open a file. |
| Ctrl + S | Save the current file. |
| Ctrl + Shift + S | Save As. |
| Ctrl + P | Quick Open files. |
| Ctrl + W | Close the current file. |
| Shortcut | Function |
|---|---|
| Ctrl + C | Copy. |
| Ctrl + X | Cut. |
| Ctrl + V | Paste. |
| Ctrl + Z | Undo. |
| Ctrl + Y | Redo. |
| Ctrl + A | Select all. |
| Ctrl + / | Comment or uncomment code. |
| Shortcut | Function |
|---|---|
| Ctrl + F | Find text. |
| Ctrl + H | Find and replace. |
| Ctrl + G | Go to line. |
| Ctrl + Shift + P | Open Command Palette. |
| Ctrl + Shift + N | Open new VS Code window. |
| Ctrl + Shift + E | Open Explorer. |
| Ctrl + Shift + F | Search across files. |
| F5 | Start debugging. |
| F8 | Go to next error or warning. |
Which shortcut key opens the Command Palette in VS Code?