VSCode(MacOS)快捷键参考大全


立即下载 v-star*위위
2024-04-20
line Insert cursor comment selection Scroll Toggle ⌘K unfold Fold
179.9 KB

General
⇧⌘P, F1 Show Command Palette
⌘P Quick Open
⇧⌘N New window/instance
⌘W Close window/instance
Basic editing
⌘X Cut line (empty selection)
⌘C Copy line (empty selection)
⌥↓ / ⌥↑ Move line down/up
⇧⌥↓ / ⇧⌥↑ Copy line down/up
⇧⌘K Delete line
⌘Enter / ⇧⌘Enter Insert line below/above
⇧⌘\ Jump to matching bracket
⌘] / ⌘[ Indent/outdent line
Home / End Go to beginning/end of line
⌘↑ / ⌘↓ Go to beginning/end of file
⌃PgUp Scroll line up
⌃PgDown Scroll line down
⌘PgUp /⌘PgDown Scroll page up/down
⇧⌘[ / ⇧⌘] Fold/unfold region
⌘K ⌘[ / ⌘K ⌘] Fold/unfold all subregions
⌘K ⌘0 / ⌘K ⌘J Fold/unfold all regions
⌘K ⌘C Add line comment
⌘K ⌘U Remove line comment
⌘/ Toggle line comment
⇧⌥A Toggle block comment
⌥Z Toggle word wrap
Multi-cursor and selection
Alt+Click Insert cursor
⌥⌘↑ Insert cursor above
⌥⌘↓ Insert cursor below
⌘U Undo last cursor operation
⇧⌥I Insert cursor at end of each line selected
⌘I Select current line
⇧⌘L


line/Insert/cursor/comment/selection/Scroll/Toggle/⌘K/unfold/Fold/ line/Insert/cursor/comment/selection/Scroll/Toggle/⌘K/unfold/Fold/
-1 条回复
登录 后才能参与评论
-->