👩‍💻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
移+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+X 斩, 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+ð 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