VS Code 速查表
涵盖 Windows/Linux 与 macOS 的 VS Code 快捷键与工作流命令:文件导航、多光标编辑、代码重构、调试及集成终端。
工作原理
Navigate code at keyboard speed with three hubs — `Quick Open` (files), `Command Palette` (actions), and `Symbol Jump` (`@`) — then refactor multi-line edits with cursors.
生存指南
最先需要掌握的少数几个命令。
41 条命令
Command Palette & Fast Navigation
Jump across files, workspace symbols, definitions, and open tabs.
- 基础必备Linux
Open the Command Palette to search any VS Code or extension action
Ctrl+Shift+P适用场景
Lets you trigger rare settings, tasks, and refactors without memorizing every shortcut.
示例
Ctrl+Shift+P -> "Reload Window"替代命令
- F1
Editing & Multi-Cursor
Duplicate lines, move blocks, rename tokens, and edit multiple sites at once.
Search, Intellisense & Refactoring
Run workspace-wide search/replace, safe F2 renames, and Quick Fixes.
Panels, Splits & Terminal
Control sidebars, editor splits, zen mode, and the integrated terminal.
Debugging & Built-in Tricks
Step breakpoints, inspect diffs, format documents, and run quick tasks.