VSCode Shortcuts

pexels-photo-546819

VSCode Shortcuts

List of helpful shortcuts for faster coding

  • For mac, replace “Ctrl” with “cmd” and “Alt” with “option”

Official List of all commands

General & File

Open Command Pallete

Ctrl+Shift+P

Open New Window

Ctrl+Shift+N

Close Window

Ctrl+W

Quick File Open

Ctrl+P

Access Settings

Ctrl+,

New File

Ctrl+N

Open File

Ctrl+O

Save

Ctrl+S
Ctrl+Shift+S # Save As

Close File

Ctrl+F4

Change File Tabs

Ctrl+PageUP
Ctrl+PageDown

Open Next File (Dropdown)

Ctrl+Tab # Scroll next
Ctrl+Shift+Tab # Scroll prev

Zoom

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

Toggle Sidebar

Ctrl+B

Toggle Sidebar Focus

Ctrl+Shift+E

Spilt Editor

Ctrl+\

Integrated Terminal

Ctrl+` # Toggle terminal
Ctrl+Shift+` # Create new terminal

Code Editing

Go To Start & End Of Line

home
end

Go To Start & End Of File

Ctrl+Home
Ctrl+End

Cut, Copy & Past Line

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

Move Line Up & Down

Alt+Up
Alt+Down

Copy Line Up & Down

Shift+Alt+Up
Shift+Alt+Down

Remove Line

Ctrl+Shift+K

Insert Line

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

Jump To Matching Bracket

Ctrl+Shift+\

Fold Brackets

Ctrl+[
Ctrl+]

Add Line Comment

Ctrl+/

Add Block Comment

Shift+Alt+A

Scroll Up & Down

Ctrl+Up
Ctrl+Down

Move By Word

Ctrl+Right
Ctrl+Left

Highlight Code

Shift+Any Direction

Go To Next Match

F3

Select Next Match

Ctrl+D

Select All Matches & Add Cursor

Ctrl+F2

Select All Matches from Find

Alt+Enter

Add Cursor

Alt+Click

Go to Symbol

Ctrl+Shift+O


image host

Vineet Srivastav is the founder of Vineet Geek. He is a tech blogger, developer and gadget freak.


Similar Articles

0 Comments

Leave a comment

Comment policy: We love comments and appreciate the time that readers spend to share ideas and give feedback. However, all comments are manually moderated and those deemed to be spam or solely promotional will be deleted.

2022 Vineet Geek | All Rights Reserved | Developed By Vineet Srivastav