VsCode

VSCode Shortcuts

VSCode Shortcuts

List of helpful shortcuts for faster coding

Official List of all commands

Open/View

Open Command Palette

Shift+Cmd+P

Access Settings

Cmd+,

Toggle Terminal

Ctrl+`

Create a new Terminal

Shift+Ctrl+`

Toggle Sidebar

Cmd+B 

Open New Window/Instance

Shift+Cmd+N 

Close Window

Cmd+W 

Working With Files

Shift+Cmd+E

Open File/Folder From Sidebar

Cmd+Down

Change File Tabs

Ctrl+Tab 

Quick File Open

Cmd+P

Open File From Explorer

Cmd+O

New File

Cmd+N

Save

Cmd+S

Save As

Shift+Cmd+S

Close File

Cmd+W

Delete File

Cmd+Delete

Reopen Files

Shift+Cmd+T

Zoom

Cmd++ # Zoom in
Cmd+- # Zoom out

Spilte Editor

Cmd+\
Ctrl+\

Code Editing

Go To Start & End Of Line

Cmd+Right
Cmd+Left

home
end

Move By Word

Option+Right
Option+Left

Go To Start & End Of File

Cmd+Up
Cmd+Down

Cut, Copy & Past Line

Cmd+X #Cut
Cmd+C #Copy
Cmd+V #Paste

Move Line Up & Down

Option+Up
Option+Down

Copy Line Up & Down

Shift+Option+Up
Shift+Option+Down

Remove Line

ShiftCmd+K

Insert Line

Cmd+Enter # Insert below
Shift+Cmd+Enter # Insert above

Jump To Matching Bracket

Shift+Cmd+\

Add Line Comment

Cmd+/

Add Block Comment

Shift+Option+A

Highlight Code

Shift+Any Direction

Select Next Match

Cmd+D

De-select Match

Cmd+U

Add Cursor

Option+Click

Go to Entity (Functions, vars, etc)

Cmd+Shift+O

Last updated

Was this helpful?