Keyboard Shortcuts For VS Code | VS Code Shortcut Keys Cheatsheet 2022

General

Ctrl+Shift+P, F1
Show Command Palette
Ctrl+P
Quick Open, Go to File…
Ctrl+Shift+N
New window/instance
Ctrl+Shift+W
Close window/instance
Ctrl+,
User Settings
Ctrl+K Ctrl+S
Keyboard Shortcuts

Basic editing

Ctrl+X
Cut line (empty selection)
Ctrl+C
Copy line (empty selection)
Alt+ ↑ / ↓
Move line up/down
Shift+Alt + ↓ / ↑
Copy line up/down
Ctrl+Shift+K
Delete line
Ctrl+Shift+Enter
Insert line above
Ctrl+Shift+\
Jump to matching bracket
Ctrl+Enter
Insert line below
Ctrl+] / [
Indent/outdent line
Ctrl+Home
Go to the beginning of the file
Ctrl+End
Go to the end of the file
Home / End
Go to beginning/end of line
Ctrl+↑ / ↓
Scroll line up/down
Ctrl+Shift+[
Fold (collapse) region
Ctrl+Shift+]
Unfold (uncollapse) region
Alt+PgUp / PgDn
Scroll page up/down
Ctrl+K Ctrl+[
Fold (collapse) all subregions
Ctrl+K Ctrl+0
Fold (collapse) all regions
Ctrl+K Ctrl+J
Unfold (uncollapse) all regions
Ctrl+K Ctrl+]
Unfold (uncollapse) all subregions

Leave a Comment

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.