Most Used keyboard shortcut keys in Visual Studio Code for Mac OS

Most Used keyboard shortcut keys in Visual Studio Code for Mac OS

7,458

This Post will help you to check and make your Visual Studio Code work more faster with Most Used Shortcut keys of Visual Studio Code.

What is Visual Studio Code?

Visual Studio Code is an apparatus in the Text Editor class of a tech stack also it is an open-source apparatus with 107.3K GitHub stars and 17.3K GitHub forks. 

Stable release:  1.51.1 (November 11, 2020) on Jan 2021
Preview release:  1.50.0-insider on Jan 2021
License: Source code: MIT License;  
Binaries: Freeware;
Size: 

Windows: 40.8–68.3 MB;

 Linux: 46.5–66.6 MB;

 macOS: 67.5 MB

Platforms:  x86-32 (32 bit Intel x86), x86-64, AArch64
Written in:  TypeScript, JavaScript, CSS

Most Used Shortcut keys of Visual Studio Code [for Mac OS]

General
Show Command Palette Cmd+Shift+P
Quick Open, Go to File... Cmd+P
New window/instance Cmd+Shift+N
Close window/instance Cmd+Shift+W
User Settings Cmd+ ,
Keyboard Shortcuts Cmd+K+Cmd+S
Basic Editing
Cut line (empty selection) Cmd+X
Copy line (empty selection) Cmd+C
Move line up/down Alt+Up/Down
Copy line up/down Shift+Alt+Up/Down
Delete line Cmd+Shift+K
Insert line below Cmd+Enter
Insert line above Cmd+Shift+Enter
Jump to matching bracket Cmd+Shift+ \
Indent/outdent line Cmd+]/[
Go to beginning/end of line Home/End
Go to beginning of file Cmd+Home
Go to end of file Cmd+End
Scroll line up/down Cmd+Up/Down
Scroll page up/down Alt+PgUp/PgDown
Fold (collapse) region Cmd+Shift+[
Unfold (uncollapse) region Cmd+Shift+]
Fold (collapse) all subregions Cmd+K+Cmd+[
Unfold (uncollapse) all subregions Cmd+K+Cmd+]
Fold (collapse) all regions Cmd+K+Cmd+0
Unfold (uncollapse) all regions Cmd+K+Cmd+J
Add line comment Cmd+K+Cmd+C
Remove line comment Cmd+K+Cmd+U
Toggle line comment Cmd+/
Toggle block comment Shift+Alt+A
Toggle word wrap Alt+Z
Navigation
Show all Symbols Cmd+T
Go to Line... Cmd+G
Go to File... Cmd+P
Go to Symbol... Cmd+Shift+O
Show Problems panel Cmd+Shift+M
Go to the next error or warning F8
Go to the previous error or warning Shift+F8
Navigate editor group history Cmd+Shift+Tab
Go back/forward Alt+Left/Right
Toggle Tab moves focus Cmd+M
Search and Replace
Find Cmd+F
Replace Cmd+H
Find next F3
Find previous Shift+F3
Select all occurrences of Find match Alt+Enter
Add selection to next Find match Cmd+D
Move last selection to next Find match Cmd+K+Cmd+D
Toggle case-sensitive/regex/whole word Alt+C/R/W
Multi-Cursor and Selection
Insert cursor AltClick
Insert cursor above/below Cmd+Alt+Up/Down
Undo last cursor operation Cmd+U
Insert cursor at end of each line selected Shift+Alt+I
Select current line Cmd+I
Select all occurrences of the current selection Cmd+Shift+L
Select all occurrences of the current word Cmd+F2
Expand selection Shift+Alt+Right
Shrink selection Shift+Alt+Left
Column (box) selection Shift+Alt+(drag mouse)
Column (box) selection Cmd+Shift+Alt+(arrow key)
Column (box) selection page up/down Cmd+Shift+Alt+PgUp/PgDown
Rich Languages Editing
Trigger suggestion Cmd+Space
Trigger parameter hints Cmd+Shift+Space
Format document Shift+Alt+F
Format selection Cmd+K+Cmd+F
Go to Definition F12
Peek Definition Alt+F12
Open Definition to the side Cmd+K+F12
Quick Fix Cmd+ .
Show References Shift+F12
Rename Symbol F2
Trim trailing whitespace Cmd+K+Cmd+X
Change file language Cmd+K+M
Editor Management
Close editor Cmd+F4
Close editor Cmd+W
Close folder Cmd+K+F
Split editor Cmd+\
Focus into 1st, 2nd, or 3rd editor group Cmd+1/2/3
Focus into previous/next editor group Cmd+K+Cmd+Left/Right
Move editor left/right Cmd+Shift+PgUp/PgDown
Move active editor group Cmd+K+Left/Right
File Management
New File Cmd+N
Open File... Cmd+O
Save Cmd+S
Save As... Cmd+Shift+S
Save All Cmd+K+S
Close Cmd+F4
Close All Cmd+K+Cmd+W
Reopen closed editor Cmd+Shift+T
Keep preview mode editor open Cmd+K+Enter
Open next Cmd+Tab
Open previous Cmd+Shift+Tab
Copy path of active file Cmd+K+P
Reveal active file in Explorer Cmd+K+R
Show active file in new window/instance Cmd+K+O
Display
Toggle fullscreen F11
Toggle editor layout (horizontal/vertical) Shift+Alt+0
Zoom in/out Cmd+(=/-)
Toggle Sidebar visibility Cmd+B
Show Explorer/Toggle focus Cmd+Shift+E
Show Search Cmd+Shift+F
Show Source Control Cmd+Shift+G
Show Debug Cmd+Shift+D
Show Extensions Cmd+Shift+X
Replace in files Cmd+Shift+H
Toggle Search details Cmd+Shift+J
Show Output panel Cmd+Shift+U
Open Markdown preview Cmd+Shift+V
Open Markdown preview to the side Cmd+K+V
Zen Mode (Esc Esc to exit) Cmd+K+Z
Debug
Toggle breakpoint F9
Start/Continue F5
Stop Shift+F5
Step into F11
Step out Shift+F11
Step over F10
Show hover Cmd+K+Cmd+I
Integrated Terminal
Show integrated terminal Cmd+ `
Create new terminal Cmd+Shift+ `
Copy selection Cmd+C
Paste into the active terminal Cmd+V
Scroll up/down Cmd+Up/Down
Scroll page up/down Shift+PgUp/PgDown
Scroll to top/bottom Cmd+Home/End

Must Read:

Keyboard shortcut keys in Visual Studio Code [for Windows]