👩💻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+H | 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 |
