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+RightArrow
Shrink Selection
SHIFT+ALT+LeftArrow

Search file || content

Show Search
Ctrl + Shift + F
Toggle Search details
Ctrl + Shift + J
Find in folder
Alt + Shift + F
 

Display function hints

Display docume­ntation
CTRL+K(with)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
Ctrl + Shift + A
Copy selected above selected
Ctrl + Alt + Shift + A
Select current line
Ctrl + L
Select mutiple carrets
CTRL + Shist + Arrows
 

Refact­oring

Show refactor widget
CTRL+SHIFT+R

Switch between tools

Focus on file explorer
Ctrlr+­Shift+E
Focus on Teminal
Ctrl+`
Focus on Editor
Ctrl+1
Toggle Lef Side Bar Visibility
Ctrl+B
Focus on Source Control
Ctrlr+­Shift+G, G
Ctrl + B also working as toggle editor only mode with next keybinds:
[{"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"]­}},­{"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