👩💻Microsoft Visual Studio Code – Useful Keyboard⌨ Shortcuts / Windows Cheetsheet 🔥🚀🚀
General Shortcuts
| F1 | Shows the Command Palette |
| Ctrl+, | Visual Studio Code Settings |
| Ctrl+p | Quick find/search file to open |
Editing Shortcuts
| alt+⬆ | Move line up |
| alt+⬇ | Move line down |
| Movo+alt+⬆ | Copy line up |
| Movo+alt+⬇ | Copy line down |
| alt+/ | Toggle line comment |
| Ctrl+➡ | Navigate cursor right word by word |
| Ctrl+⬅ | Navigate cursor left word by word |
| Hejmo | Navigate cursor to beginning of line |
| End | Navigate cursor to end of line |
| Ctrl+c | Kopio, keep cursor on the line without selection to copy whole line |
| Ctrl+X | Cut, keep cursor on the line without selection to cut whole line |
| Ctrl+ Click | Multiple cursors, Esc to cancel |
| Ctrl+alt+⬆ | Multiple cursors from current position up, Esc to cancel |
| Ctrl+alt+⬇ | Multiple cursors from current position down, Esc to cancel |
| F2 | Rename variables, HTML tags, … |
| Ctrl+ Click | Click on function call to jump to function definition |
File Management Shortcuts
| Ctrl+Tab | Toggle forward through open files |
| Ctrl+Movo+Tab | Toggle backwards through open files |
| Ctrl+w | Close currently open file/tab |
Editor Shortcuts
| Ctrl+\ | Copy current open file in split window |
Search and Replace Shortcuts
| Ctrl+f | Find text/code in file |
| Ctrl+h | Replace text/code in file. Ctrl+enter to replace all. |
| Ctrl+D | Select whole of current word |
| Ctrl+Movo+l | Select all instances of current word |
Display Shortcuts
| Ctrl+Movo+f | Show global search |
Terminal Shortcuts
| Ctrl+' | Show integrated terminal |
