VSCode快捷键 - 02
from:https://gist.github.com/cleary/d168e301429c0305c49d97907796c72d
VSCode Shortcuts
List of helpful shortcuts for faster coding
- For mac, replace “Ctrl” with “cmd” and “Alt” with “option”
Official List of all commands
General & File
Open Command Pallete
1 | Ctrl+Shift+P |
Open New Window
1 | Ctrl+Shift+N |
Close Window
1 | Ctrl+W |
Quick File Open
1 | Ctrl+P |
Access Settings
1 | Ctrl+, |
New File
1 | Ctrl+N |
Open File
1 | Ctrl+O |
Save
1 | Ctrl+S |
Close File
1 | Ctrl+F4 |
Change File Tabs
1 | Ctrl+PageUP |
Open Next File (Dropdown)
1 | Ctrl+Tab # Scroll next |
Zoom
1 | Ctrl++ # Zoom in |
Toggle Sidebar
1 | Ctrl+B |
Toggle Sidebar Focus
1 | Ctrl+Shift+E |
Spilt Editor
1 | Ctrl+\ |
Integrated Terminal
1 | Ctrl+` # Toggle terminal |
Code Editing
Go To Start & End Of Line
1 | home |
Go To Start & End Of File
1 | Ctrl+Home |
Cut, Copy & Past Line
1 | Ctrl+X # Cut |
Move Line Up & Down
1 | Alt+Up |
Copy Line Up & Down
1 | Shift+Alt+Up |
Remove Line
1 | Ctrl+Shift+K |
Insert Line
1 | Ctrl+Enter # Insert above |
Jump To Matching Bracket
1 | Ctrl+Shift+\ |
Fold
1 | Ctrl+Shift+[ |
Fold All
1 | Ctrl+K, Ctrl+0 (zero) |
Add Line Comment
1 | Ctrl+/ |
Add Block Comment
1 | Shift+Alt+A |
Scroll Up & Down
1 | Ctrl+Up |
Move By Word
1 | Ctrl+Right |
Highlight Code
1 | Shift+Any Direction |
Go To Next Match
1 | F3 |
Select Next Match
1 | Ctrl+D |
Select All Matches & Add Cursor
1 | Ctrl+F2 |
Select All Matches from Find
1 | Alt+Enter |
Add Cursor
1 | Alt+Click |
Go to Symbol
1 | Ctrl+Shift+O |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 边缘坐标のWasteland!
评论