VSCode Keyboard Shortcuts For Productivity

VSCode Keyboard Shortcuts For Productivity

VSCode Keyboard Shortcuts For Productivity. Let's look at some keyboard shortcuts in VSCode to increase your productivity and coding speed. List of helpful shortcuts for faster coding

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

Open/View

Open Command Pallete

source-shell
Shift+Cmd+P
Shift+Ctrl+P

Access Settings

source-shell
Cmd+,
Ctrl+,

Toggle Terminal

source-shell
Ctrl+`
Ctrl+`

Create New Terminal

Shift+Ctrl+`
Shift+Ctrl+`

Toggle Sidebar

source-shell
Cmd+B 
Ctrl+B

Open New Window/Instance

source-shell
Shift+Cmd+N 
Shift+Ctrl+N

Close Window

source-shell
Cmd+W 
Ctrl+W

Working With Files

Sidebar Focus

source-shell
Shift+Cmd+E
Shift+Ctrl+E

Open File/Folder From Sidebar

Cmd+Down
Ctrl+Down

Change File Tabs

source-shell
Ctrl+Tab 
Ctrl+PageUP

Quick File Open

source-shell
Cmd+P
Ctrl+P

Open File From Explorer

source-shell
Cmd+O
Ctrl+O

New File

source-shell
Cmd+N
Ctrl+N

Save

source-shell
Cmd+S
Ctrl+S

Save As

source-shell
Shift+Cmd+S
Shift+Ctrl+S

Close File

source-shell
Cmd+W
Ctrl+W

Delete File

Cmd+Delete
Ctrl+Delete

Reopen Files

Shift+Cmd+T
Shift+Ctrl+T

Zoom

source-shell
Cmd++ # Zoom in
Cmd+- # Zoom out

Ctrl++ # Zoom in
Ctrl+- # Zoom out

Spilt Editor

source-shell
Cmd+\
Ctrl+\

Code Editing

Go To Start & End Of Line

source-shell
Cmd+Right
Cmd+Left

Ctrl+Right
Ctrl+Left

home
end

Move By Word

source-shell
Option+Right
Option+Left

Alt+Right
Alt+Left

Go To Start & End Of File

source-shell
Cmd+Up
Cmd+Down

Ctrl+Home
Ctrl+End

Cut, Copy & Past Line

source-shell
Cmd+X #Cut
Cmd+C #Copy
Cmd+V #Paste

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

Move Line Up & Down

source-shell
Option+Up
Option+Down

Alt+Up
Alt+Down

Copy Line Up & Down

source-shell
Shift+Option+Up
Shift+Option+Down

Shift+Alt+Up
Shift+Alt+Down

Remove Line

source-shell
ShiftCmd+K
Shift+Ctrl+K

Insert Line

source-shell
Cmd+Enter # Insert below
Shift+Cmd+Enter # Insert above

Ctrl+Enter # Insert below
Shift+Ctrl+Enter # Insert above

Jump To Matching Bracket

source-shell
Shift+Cmd+\
Shift+Ctrl+\

Add Line Comment

source-shell
Cmd+/
Ctrl+/

Add Block Comment

source-shell
Shift+Option+A
Shift+Alt+A

Highlight Code

source-shell
Shift+Any Direction

Select Next Match

source-shell
Cmd+D
Ctrl+D

De-select Match

source-shell
Cmd+U
Ctrl+U

Add Cursor

source-shell
Option+Click
Alt+Click

Go to Entity (Functions, vars, etc)

source-shell
Cmd+Shift+O
Ctrl+Shift+O