👩‍đŸ’ģ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