Visual Studio Code (Mac)

General

User Settings

⌘ Cmd + ,

All hotkeys for Visual Studio Code (Mac)

General
F1 Show Command Palette

↑   Shift + ⌘ Cmd + P then F1

Navigation
Go to file

⌘ Cmd + P

General
New window/instance

↑   Shift + ⌘ Cmd + N

File management
Close

⌘ Cmd + W

General
User Settings

⌘ Cmd + ,

General
Keyboard Shortcuts

⌘ Cmd + K then ⌘ Cmd + S

Basic editing
Cut line (empty selection)

⌘ Cmd + X

Integrated terminal
Copy selection

⌘ Cmd + C

Basic editing
Move line up/down

⌥ Option + ↑  ↓

Basic editing
Copy line up / down

↑   Shift + ⌥ Option + ↑  ↓

Basic editing
Insert line below

⌘ Cmd + ⤶ Enter

Basic editing
Insert line above

↑   Shift + ⌘ Cmd + ⤶ Enter

Basic editing
Jump to matching bracket

↑   Shift + ⌘ Cmd + \

Basic editing
Indent/outdent line

⌘ Cmd + ]

Basic editing
Indent/outdent line

⌘ Cmd + [

Basic editing
Go to beginning of line

Home

Basic editing
Go to end of line

End

Basic editing
Go to beginning of file

⌘ Cmd +

Basic editing
Go to end of file

⌘ Cmd +

Basic editing
Scroll line up/down

Ctrl + ↑  ↓

Basic editing
Scroll page up

Control + Page Up

Basic editing
Scroll page down

Control + Page Down

Basic editing
Fold (collapse) region

⌥ Option + ⌘ Cmd + [

Basic editing
Unfold (uncollapse) region

⌥ Option + ⌘ Cmd + ]

Basic editing
Fold (collapse) all subregions

⌘ Cmd + K then ⌘ Cmd + [

Basic editing
Unfold (uncollapse) all subregions

⌘ Cmd + K then ⌘ Cmd + ]

Basic editing
Fold (collapse) all regions

⌘ Cmd + K then ⌘ Cmd + 0

Basic editing
Unfold (uncollapse) all regions

⌘ Cmd + K then ⌘ Cmd + J

Basic editing
Add line comment

⌘ Cmd + K then ⌘ Cmd + C

Basic editing
Remove line comment

⌘ Cmd + K then ⌘ Cmd + U

Basic editing
Toggle line comment

⌘ Cmd + /

Basic editing
Toggle block comment

↑   Shift + ⌥ Option + A

Basic editing
Toggle word wrap

⌥ Option + Z

Navigation
Show all symbols

⌘ Cmd + T

Navigation
Go to line

Control + G

Navigation
Go to symbol

↑   Shift + ⌘ Cmd + O

Navigation
Show Problems panel

↑   Shift + ⌘ Cmd + M

Navigation
Go to next error or warning

F8

Navigation
Go to previous error or warning

↑   Shift + F8

Navigation
Navigate editor group history

Ctrl + ↑   Shift + ⭾ Tab

Navigation
Go back

Ctrl + -

Navigation
Go forward

Ctrl + ↑   Shift + -

Navigation
Toggle Tab moves focus

Ctrl + ↑   Shift + M

Search and replace
Find

⌘ Cmd + F

Search and replace
Replace

⌥ Option + ⌘ Cmd + F

Search and replace
Find next

⌘ Cmd + G

Search and replace
Find previous

↑   Shift + ⌘ Cmd + G

Search and replace
Select all occurences of Find match

⌥ Option + ⤶ Enter

Search and replace
Add selection to next Find match

⌘ Cmd + D

Search and replace
Move last selection to next Find match

⌘ Cmd + K then ⌘ Cmd + D

Multi-cursor and selection
Insert cursor

⌥ Option + Mouse left click

Multi-cursor and selection
Insert cursor above / below

⌥ Option + ⌘ Cmd + ↑  ↓

Multi-cursor and selection
Undo last cursor operation

⌘ Cmd + U

Multi-cursor and selection
Insert cursor at end of each line selected

↑   Shift + ⌥ Option + I

Multi-cursor and selection
Select current line

⌘ Cmd + I

Multi-cursor and selection
Select all occurrences of current selection

↑   Shift + ⌘ Cmd + L

Multi-cursor and selection
Select all occurrences of current word

⌘ Cmd + F2

Multi-cursor and selection
Expand selection

Ctrl + ↑   Shift + ⌘ Cmd +

Multi-cursor and selection
Shrink selection

Ctrl + ↑   Shift + ⌘ Cmd +

Multi-cursor and selection
Column (box) selection

↑   Shift + ⌥ Option + Mouse movement

Multi-cursor and selection
Column (box) selection left/right

↑   Shift + ⌥ Option + ⌘ Cmd + ←  →

Multi-cursor and selection
Column (box) selection page up

Shift + Option + Command + Page Up

Multi-cursor and selection
Column (box) selection page down

Shift + Option + Command + Page Down

Rich languages editing
Trigger suggestion

Ctrl + Space

Rich languages editing
Trigger parameter hints

↑   Shift + ⌘ Cmd + Space

Rich languages editing
Format document

↑   Shift + ⌥ Option + F

Rich languages editing
Format selection

⌘ Cmd + K then ⌘ Cmd + F

Rich languages editing
Go to Definition

F12

Rich languages editing
Peek Definition

⌥ Option + F12

Rich languages editing
12 Open Definition to the side

⌘ Cmd + K then F12

Rich languages editing
Quick Fix

⌘ Cmd + .

Rich languages editing
Show References

↑   Shift + F12

Rich languages editing
Rename Symbol

F2

Rich languages editing
Trim trailing whitespace

⌘ Cmd + K then ⌘ Cmd + X

Rich languages editing
M Change file language

⌘ Cmd + K then M

Editor management
F Close folder

⌘ Cmd + K then F

Editor management
Split editor

⌘ Cmd + \

Editor management
Focus into first group

⌘ Cmd + 1

Editor management
Focus into second group

⌘ Cmd + 2

Editor management
Focus into third group

⌘ Cmd + 3

Editor management
Focus into previous/next editor group

⌘ Cmd + K then ⌘ Cmd + ←  →

Editor management
Move editor left

⌘ Cmd + K then ↑   Shift + ⌘ Cmd +

Editor management
Move editor right

⌘ Cmd + K then ↑   Shift + ⌘ Cmd +

Editor management
ht Move active editor group

⌘ Cmd + K then ←  →

File management
New File

⌘ Cmd + N

File management
Open File

⌘ Cmd + O

File management
Save

⌘ Cmd + S

File management
Save As

↑   Shift + ⌘ Cmd + S

File management
Save All

⌥ Option + ⌘ Cmd + S

File management
Close All

⌘ Cmd + K then ⌘ Cmd + W

File management
Reopen closed editor

Ctrl + ↑   Shift + T

File management
er Keep preview mode editor open

⌘ Cmd + K then ⤶ Enter

File management
Open next

Control + ⭾ Tab

File management
Open previous

Control + ↑   Shift + ⭾ Tab

File management
P Copy path of active file

⌘ Cmd + K then P

File management
R Reveal active file in Explorer

⌘ Cmd + K then R

File management
O Show active file in new window/instance

⌘ Cmd + K then O

Display
Toggle full screen

Control + ⌘ Cmd + F

Display
Toggle editor layout (horizontal/vertical)

⌥ Option + ⌘ Cmd + 1

Display
Zoom in

⌘ Cmd + =

Display
Zoom out

↑   Shift + ⌘ Cmd + -

Display
Toggle Sidebar visibility

⌘ Cmd + B

Display
Show Explorer / Toggle focus

↑   Shift + ⌘ Cmd + E

Display
Show Search

↑   Shift + ⌘ Cmd + F

Display
Show Source Control

Control + ↑   Shift + G

Display
Show Debug

↑   Shift + ⌘ Cmd + D

Display
Show Extensions

↑   Shift + ⌘ Cmd + X

Display
Replace in files

↑   Shift + ⌘ Cmd + H

Display
Toggle Search details

↑   Shift + ⌘ Cmd + J

Display
Show Output panel

↑   Shift + ⌘ Cmd + U

Display
Open Markdown preview

↑   Shift + ⌘ Cmd + V

Display
V Open Markdown preview to the side

⌘ Cmd + K then V

Display
Z Zen Mode (Esc Esc to exit)

⌘ Cmd + K then Z

Debug
Toggle breakpoint

F9

Debug
Start/Continue

F5

Debug
Stop

↑   Shift + F5

Debug
Step into

F11

Debug
Step out

↑   Shift + F11

Debug
Step over

F10

Debug
Show hover

⌘ Cmd + K then ⌘ Cmd + I

Integrated terminal
Show integrated terminal

Control + `

Integrated terminal
Create new terminal

Control + ↑   Shift + `

Integrated terminal
Scroll up/down

⌘ Cmd + ↑  ↓

Integrated terminal
Scroll page up

Page Up

Integrated terminal
Scroll page down

Page Down

Integrated terminal
Scroll to top

⌘ Cmd + Home

Integrated terminal
Scroll to bottom

⌘ Cmd + End

Similar combinations for other applications


Ableton Live 10 (Mac)
Open the Preferences
Showing and hiding views

⌘ Cmd + ,


Final Cut Pro X
Open the Final Cut Pro Preferences window
Application

⌘ Cmd + ,


Tableau (Mac)
Skip backward one page
Pages (Tableau Desktop)

⌘ Cmd + ,


Cisco Webex
Open preferences
Mac

⌘ Cmd + ,


QuickBooks Desktop (Mac)
QuickBooks > Preferences
General

⌘ Cmd + ,


Sketch
Open Preferences window
General

⌘ Cmd + ,


Ace Editor (Mac)
Show the settings menu
Other

⌘ Cmd + ,


Adobe Lightroom Classic (Mac)
Open Preferences
Managing photos and catalogs

⌘ Cmd + ,


Kindle for Mac
Preferences
Apple menu systems

⌘ Cmd + ,


Adobe Dimension CC (Mac)
Preferences
Application

⌘ Cmd + ,


Twist
Open Settings
Navigation (macOS)

⌘ Cmd + ,


Corel Painter (Mac)
Preferences > General
Menu commands

⌘ Cmd + ,


Autodesk SketchBook (Mac)
Preference
Tools

⌘ Cmd + ,


AWS Cloud9 IDE (Mac)
Open Settings Panel
Miscellaneous

⌘ Cmd + ,


IntelliJ IDEA (macOS)
Open Settings dialog
General

⌘ Cmd + ,


Adobe XD (Mac)
Zoom out
View menu

⌘ Cmd + ,


Pixelmator Pro
Show Pixelmator Pro preferences
General

⌘ Cmd + ,


Apple Messages
Open Messages preferences
Messages

⌘ Cmd + ,


Apple iMovie
Open iMovie preferences
Managing projects and events

⌘ Cmd + ,


Apple iBooks
Show the Preferences window
General

⌘ Cmd + ,


Apple GarageBand
Show GarageBand preferences
General

⌘ Cmd + ,


Tumblr
Subscript
Posting (Mac)

⌘ Cmd + ,


Xcode
Open the application's preferences window (equivalent to the Preferences command)
Other system and application shortcuts

⌘ Cmd + ,


Apple Calendar
Open Calendar preferences
Event shortcuts

⌘ Cmd + ,


Apple Pages
Open Pages Preferences
General

⌘ Cmd + ,


Apple macOS
Open preferences for the front app
Cut, copy, paste, and other common shortcuts

⌘ Cmd + ,


CoffeeCup Web Editor
Preferences
Misc

⌘ Cmd + ,


Audacity
(Mac)   Preferences
Edit menu

⌘ Cmd + ,


Final Draft 11 (Mac)
Spelling
Cmd key

⌘ Cmd + ,