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

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
Toggle Lef Side Bar Visibility
CTRL + B
Focus on Source Control
CTRL + SHIFT + G, G
Toggle Chat
Ctrl + A + I
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.t­og­gle­Pan­el",­"­wor­kbe­nch.ac­tio­n.t­ogg­leS­ide­bar­Vis­ibi­lit­y","w­ork­ben­ch.a­ct­ion.fo­cus­Act­ive­Edi­tor­Gro­up",­"­wor­kbe­nch.ac­tio­n.t­ogg­leA­uxi­lia­ryB­ar"]­}},­{"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":­"­sid­eBa­rVi­sible && !panel­Vis­ibl­e"},­{"ke­y":"c­trl­+b",­"­com­man­d":"w­ork­ben­ch.a­ct­ion.to­ggl­ePa­nel­"­,"wh­en":­"­pan­elV­isible && !sideB­arV­isi­ble­"}]
 

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