Show Menu
Cheatography

Visual Studio Code(vscode) handy shortcuts Cheat Sheet by

Learning new shortcuts when moved from phpStorm

Fast Editing

Find next occurrence
CTRL+D
Find previous occurrence
CTRL+U
Select all occurr­ences
CTRL+SHIFT+L
Switch to case-(­in)­sen­sitive
ALT+C
Switch to whole word matches
ALT+W
Expand Selection
SHIFT+ALT+
Shrink Selection
SHIFT+ALT+
Dupplicate line
SHIFT+ALT++(↓ or ↑)

Search file || Content

Show Search
CTRL + SHIFT + F
Toggle Search details
CTRL + SHIFT + J
Find in folder
ALT + SHIFT + F
Filter files in explorer
CTRL + ALT + F
or
F3

Collap­se/­Unc­ollapse

Collapse folders in source code
CTRL + 
 

Display function hints

Display docume­ntation
CTRL + K , CTRL + I
Display parameter hints inside()
CTRL + SHIFT + SPACE
Display the code completion menu
CTRL + SPACE
Display quick code menu
CTRL + .

Working with code blocks

Comment block of code
SHIFT+ALT+A
Copy selected above selected
CTRL+ALT+SHIFT+A
Select current line
CTRL+L
Select mutiple carrets
CTRL+SHIFT+ALT+←,→
Jump matching brackets
CTRL+SHIFT+\ 
 

Refact­oring

Show refactor widget
CTRL + SHIFT + R

Switch between tools

Focus on file explorer
CTRL + SHIFT + E
Focus on Teminal
CTRL + 
`
Focus on Editor
CTRL + 1
Focus on Source Control
CTRL + SHIFT + G, G
Toggle Chat Visibility
CTRL + ALT + B
Switch to the Chat
Ctrl + SHIFT + I
Toggle Side Bars Visibility
CTRL + B
[{"k­ey":­"­ctr­l+b­"­,"co­mma­nd":­"­run­Com­man­ds",­"­arg­s":{­"­com­man­ds":­["wo­rkb­enc­h.a­cti­on.f­oc­usA­cti­veE­dit­orG­rou­p","w­ork­ben­ch.a­ct­ion.cl­ose­Aux­ili­ary­Bar­"­,"wo­rkb­enc­h.a­cti­on.c­lo­seS­ide­bar­"­,"wo­rkb­enc­h.a­cti­on.c­lo­seP­ane­l"]}­,"wh­en":­"­sid­eBa­rVi­sible || panelV­isible || auxili­ary­Bar­Vis­ibl­e"},­{"ke­y":"c­trl­+b",­"­com­man­d":"w­ork­ben­ch.a­ct­ion.to­ggl­eSi­deb­arV­isi­bil­ity­"­,"wh­en":­"­!si­deB­arV­isible && !panel­Visible && !auxil­iar­yBa­rVi­sib­le"}]
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          VSCode ReactJS Code Snippets Cheat Sheet
          PHPStorm Keymap Keyboard Shortcuts