đŠâđģMicrosoft Visual Studio Code – Useful Keyboard⨠Shortcuts / Windows Cheetsheet đĨđđ
General Shortcuts
| F1 | Shows the Command Palette |
| Ctrl+, | Visual Studio Code Settings |
| Ctrl+āĻĒāĻŋ | Quick find/search file to open |
Editing Shortcuts
| Alt+âŦ | Move line up |
| Alt+âŦ | Move line down |
| āĻĒāϰāĻŋāĻŦāϰā§āϤāύ+Alt+âŦ | Copy line up |
| āĻĒāϰāĻŋāĻŦāϰā§āϤāύ+Alt+âŦ | Copy line down |
| Alt+/ | Toggle line comment |
| Ctrl+⥠| Navigate cursor right word by word |
| Ctrl+âŦ | Navigate cursor left word by word |
| āĻŦāĻžāĻĄāĻŧāĻŋ | Navigate cursor to beginning of line |
| End | Navigate cursor to end of line |
| Ctrl+āĻ | āĻāĻĒāĻŋ, keep cursor on the line without selection to copy whole line |
| Ctrl+āĻāĻā§āϏ | Cut, keep cursor on the line without selection to cut whole line |
| Ctrl+ āĻā§āϞāĻŋāĻ | 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 on function call to jump to function definition |
File Management Shortcuts
| Ctrl+Tab | Toggle forward through open files |
| Ctrl+āĻĒāϰāĻŋāĻŦāϰā§āϤāύ+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+āĻ | Replace text/code in file. Ctrl+enter to replace all. |
| Ctrl+d | Select whole of current word |
| Ctrl+āĻĒāϰāĻŋāĻŦāϰā§āϤāύ+āĻ | Select all instances of current word |
Display Shortcuts
| Ctrl+āĻĒāϰāĻŋāĻŦāϰā§āϤāύ+f | Show global search |
Terminal Shortcuts
| Ctrl+' | Show integrated terminal |
