Keyboard shortcuts for macOS - Visual Studio Code
Keyboard shortcuts for macOS
General
P, F1 P N W , K S
Show Command Palette Quick Open, Go to File...
New window/instance Close window/instance User Settings Keyboard Shortcuts
Basic editing
X C / / K Enter / Enter \ ] / [ Home / End / PgUp / PgDn PgUp /PgDn [ / ] K [ / K ] K 0 / K J K C K U / A Z
Cut line (empty selection) Copy line (empty selection) Move line down/up Copy line down/up Delete line Insert line below/above Jump to matching bracket Indent/outdent line Go to beginning/end of line Go to beginning/end of file Scroll line up/down Scroll page up/down Fold/unfold region Fold/unfold all subregions Fold/unfold all regions Add line comment Remove line comment Toggle line comment Toggle block comment Toggle word wrap
Multi-cursor and selection
+ click U I L L F2 / + drag mouse / / PgUp PgDn
Insert cursor Insert cursor above Insert cursor 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 / shrink selection Column (box) selection Column (box) selection up/down Column (box) selection left/right Column (box) selection page up Column (box) selection page down
Search and replace
F F G / G Enter D K D
Find Replace Find next/previous Select all occurrences of Find match Add selection to next Find match Move last selection to next Find match
Rich languages editing
Space, I Space F K F F12 F12 K F12 . F12 F2 K X 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
Navigation
T G P O M F8 / F8 Tab - / M
Show all Symbols Go to Line... Go to File... Go to Symbol... Show Problems panel Go to next/previous error or warning Navigate editor group history Go back/forward Toggle Tab moves focus
Editor management
W K F \ 1 / 2 / 3 K / K K / K K / K
Close editor Close folder Split editor Focus into 1st, 2nd, 3rd editor group Focus into previous/next editor group Move editor left/right Move active editor group
File management
N O S S S W K W
New File Open File... Save Save As... Save All Close Close All
T K Enter Tab / Tab K P K R K O
Reopen closed editor Keep preview mode editor open Open next / previous Copy path of active file Reveal active file in Finder Show active file in new window/instance
Display
F 0 = / B E F G D X H J U V K V 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 F11 / F11 F10 F5 K I
Toggle breakpoint Start/Continue Step into/ out Step over Stop Show hover
Integrated terminal
` ` C / PgUp / PgDn Home / End
Show integrated terminal Create new terminal Copy selection 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.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- vb 2019 visual basic tutorial
- keyboard shortcuts visual studio code
- how to build a website using visual studio code
- understanding visual studio standard subscriptions msdn
- learning to program with visual basic and net gadgeteer
- to create and run a c program using visual studio 2019
- visual studio subscriptions administrator handbook
- the book of visual studio
- design graphical of user interface with visual studio c
- creating windows forms applications with visual studio and
Related searches
- visual studio code file encoding
- visual studio code encoding ansi
- visual studio code utf 8
- unity visual studio code editor
- visual studio code unity setup
- visual studio code encoding
- visual studio code vs community edition
- free visual studio code examples
- visual studio code 2019 download
- visual studio code for beginners
- visual studio code free download
- download visual studio code for windows 10