File management Search and replace Keyboard shortcuts for ...

[Pages:1]Keyboard shortcuts for Windows

General

Ctrl+Shift+P, F1 Ctrl+P Ctrl+Shift+N Ctrl+Shift+W Ctrl+, Ctrl+K Ctrl+S

Basic editing

Ctrl+X Ctrl+C Alt+ / Shift+Alt + / Ctrl+Shift+K Ctrl+Enter Ctrl+Shift+Enter Ctrl+Shift+\ Ctrl+] / [ Home / End Ctrl+Home Ctrl+End Ctrl+ / Alt+PgUp / PgDn Ctrl+Shift+[ Ctrl+Shift+] Ctrl+K Ctrl+[ Ctrl+K Ctrl+] Ctrl+K Ctrl+0 Ctrl+K Ctrl+J Ctrl+K Ctrl+C Ctrl+K Ctrl+U Ctrl+/ Shift+Alt+A Alt+Z

Navigation

Ctrl+T Ctrl+G Ctrl+P Ctrl+Shift+O Ctrl+Shift+M F8 Shift+F8 Ctrl+Shift+Tab Alt+ /

Show Command Palette Quick Open, Go to File... New window/instance Close window/instance User Settings Keyboard Shortcuts

Cut line (empty selection) Copy line (empty selection) Move line up/down Copy line up/down Delete line Insert line below Insert line above Jump to matching bracket Indent/outdent line Go to beginning/end of line Go to beginning of file Go to end of file Scroll line up/down Scroll page up/down Fold (collapse) region Unfold (uncollapse) region Fold (collapse) all subregions Unfold (uncollapse) all subregions Fold (collapse) all regions Unfold (uncollapse) all regions Add line comment Remove line comment Toggle line comment Toggle block comment Toggle word wrap

Show all Symbols Go to Line... Go to File... Go to Symbol... Show Problems panel Go to next error or warning Go to previous error or warning Navigate editor group history Go back / forward

Ctrl+M

Toggle Tab moves focus

Search and replace

Ctrl+F Ctrl+H F3 / Shift+F3 Alt+Enter Ctrl+D Ctrl+K Ctrl+D Alt+C / R / W

Find Replace Find next/previous Select all occurences of Find match Add selection to next Find match Move last selection to next Find match Toggle case-sensitive / regex / whole word

Multi-cursor and selection

Alt+Click Ctrl+Alt+ / Ctrl+U Shift+Alt+I Ctrl+L Ctrl+Shift+L Ctrl+F2 Shift+Alt+ Shift+Alt+ Shift+Alt + (drag mouse) Ctrl+Shift+Alt + (arrow key) Ctrl+Shift+Alt +PgUp/PgDn

Insert cursor Insert cursor above / below Undo last cursor operation Insert cursor at end of each line selected Select current line Select all occurrences of current selection Select all occurrences of current word Expand selection Shrink selection Column (box) selection

Column (box) selection

Column (box) selection page up/down

Rich languages editing

Ctrl+Space, Ctrl+I

Ctrl+Shift+Space Shift+Alt+F Ctrl+K Ctrl+F F12 Alt+F12 Ctrl+K F12 Ctrl+. Shift+F12 F2 Ctrl+K Ctrl+X Ctrl+K M

Trigger suggestion

Trigger parameter hints Format document Format selection Go to Definition Peek Definition Open Definition to the side Quick Fix Show References Rename Symbol Trim trailing whitespace Change file language

Editor management

Ctrl+F4, Ctrl+W

Close editor

Ctrl+K F

Close folder

Ctrl+\

Split editor

Ctrl+ 1 / 2 / 3

Focus into 1st, 2nd or 3rd editor group

Ctrl+K Ctrl+ /

Focus into previous/next editor group

Ctrl+Shift+PgUp / PgDn Move editor left/right

Ctrl+K /

Move active editor group

File management

Ctrl+N Ctrl+O Ctrl+S Ctrl+Shift+S Ctrl+K S Ctrl+F4 Ctrl+K Ctrl+W Ctrl+Shift+T Ctrl+K Enter Ctrl+Tab Ctrl+Shift+Tab Ctrl+K P Ctrl+K R Ctrl+K O

New File Open File... Save Save As... Save All Close Close All Reopen closed editor Keep preview mode editor open Open next Open previous Copy path of active file Reveal active file in Explorer Show active file in new window/instance

Display

F11 Shift+Alt+0 Ctrl+ = / Ctrl+B Ctrl+Shift+E Ctrl+Shift+F Ctrl+Shift+G Ctrl+Shift+D Ctrl+Shift+X Ctrl+Shift+H Ctrl+Shift+J Ctrl+Shift+U Ctrl+Shift+V Ctrl+K V Ctrl+K Z

Toggle full screen Toggle editor layout (horizontal/vertical) Zoom in/out Toggle Sidebar visibility Show Explorer / Toggle focus Show Search Show Source Control Show Debug Show Extensions Replace in files Toggle Search details Show Output panel Open Markdown preview Open Markdown preview to the side Zen Mode (Esc Esc to exit)

Debug

F9 F5 Shift+F5 F11 / Shift+F11 F10 Ctrl+K Ctrl+I

Toggle breakpoint Start/Continue Stop Step into/out Step over Show hover

Integrated terminal

Ctrl+` Ctrl+Shift+` Ctrl+C Ctrl+V Ctrl+ / Shift+PgUp / PgDn Ctrl+Home / End

Show integrated terminal Create new terminal Copy selection Paste into active terminal Scroll up/down Scroll page up/down Scroll to top/bottom

Other operating systems' keyboard shortcuts and additional unassigned shortcuts available at aka.ms/vscodekeybindings

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download