दोस्तों Visual Studio Code सबसे Popular Code editor में से एक है । अगर आप एक Programmer हैं या फिर Programming शिख रहे हैं तो VS Code का इस्तमाल ज़रूर किआ होगा । Visual Studio Code एक Highly Customizable Code editor है और आज इस ब्लॉग में हम इसके सभी Default Keyboard Shortcut Keys और उनके Task के बारेमें जानेंगे ।
General :
Shortcut Key |
Task |
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 Setting |
Ctrl+ K |
Keyboard Shortcuts |
Basic Editing :
Shortcut Key |
Task |
Ctrl+ X |
Cut line |
Ctrl+ C |
Copy line
|
Alt+ ↑ / ↓ |
Move line up/down
|
Shift+ Alt+ ↑ / ↓
|
Copy line up/down
|
Ctrl+ Shift+ K
|
Delete line
|
Ctrl+ Enter
|
Insert line below
|
Ctrl+ Shift+ Enter
|
Insert line above
|
Ctrl+ Shift+ \
|
Jump to matching bracket
|
Ctrl+ ] / [
|
Indent/outdent line
|
Home / End |
Go to beginning/end of line |
Ctrl+ Home
|
Go to beginning of file
|
Ctrl+ End
|
Go to end of file
|
Ctrl+ ↑ / ↓
|
Scroll line up/down
|
Alt+ PgUp / PgDn
|
Scroll page up/down |
Ctrl+ Shift+ [
|
Fold ( collapse ) region
|
Ctrl+ Shift+ ]
|
Unfold ( uncollapse ) region
|
Ctrl+ K Ctrl+ [ |
Fold ( collapse ) all subregions |
Ctrl+ K Ctrl+ ] |
Unfold ( uncollapse ) all subregions |
Ctrl+ K Ctrl+ 0
|
Fold ( collapse ) all region
|
Ctrl+ K Ctrl+ J
|
Unfold ( uncollapse ) all regions
|
Ctrl+ K Ctrl+ C
|
Add line comment
|
Ctrl+ K Ctrl+ U |
Remove line comment
|
Ctrl+ /
|
Toggle line comment
|
Shift+ Alt+ A
|
Toggle block comment
|
Alt+ Z |
Toggle word wrap |
Navigation :
Shortcut Key |
Task |
Ctrl+ T |
Show all Symbols |
Ctrl+ G
|
Go to line |
Ctrl+ P
|
Go to file
|
Ctrl+ Shift+ O |
Go to Symbol...
|
Ctrl+ Shift+ M
|
Show Problems pannel
|
F8
|
Go to next error or warning
|
Shift+ F8
|
Go to previous error or warning
|
Ctrl+ Shift+ Tab
|
Navigate editor group history
|
Alt+ ← / →
|
Go back/forward
|
Ctrl+ M |
Toggle Tab moves focus
|
Search and Replace :
Shortcut Key |
Task |
Ctrl+ F
|
Find
|
Ctrl+ H
|
Replace
|
F3 / Shift+ F3
|
Find next/previous
|
Alt+ Enter |
Select all occurences of Find match
|
Ctrl+ D
|
Add selection to next Find mach
|
Ctrl+ K Ctrl+ D
|
Move last selection to next Find match
|
Alt+ C / R / W
|
Toggle case-sensitive / regex / whole word
|
Multi-cursor and Selection :
Shortcut Key |
Task |
Alt+ Click |
Insert cursor
|
Ctrl+ Alt+ ↑ / ↓
|
Insert cursor above/below
|
Ctrl+ U |
Undo last cursor option
|
Shift+ Alt+ I
|
Insert cursor at end of each line selected
|
Ctrl+ L |
Select current line |
Ctrl+ Shift+ L |
Seelect all occurrences of current selection |
Ctrl+ F2 |
Select all occurrences of current word
|
Shift+ Alt+ → |
Expand selection |
Shift+ Alt+ ← |
Shrink selection |
Shift+ Alt+ ( drag mouse ) |
Column ( box ) selection
|
Ctrl+ Shift+ Alt+ ( arrow key ) |
Column ( box ) selection |
Ctrl+ Shift+ Alt+ PgUp / PgDn
|
Column ( box ) selection page up/down
|
Rich Languages Editing :
Shortcut Key |
Task |
Ctrl+ Space, Ctrl+ I |
Trigger suggestion
|
Ctrl+ Shift+ Space |
Trigger parameter hints |
Shift+ Alt+ F |
Format document |
Ctrl+ K Ctrl+ F |
Format selection |
F12 |
Go to definition |
Alt+ F12 |
Peek definition |
Ctrl+ K F12 |
Open definition on the side |
Ctrl+ . |
Quick fix |
Shift+ F12 |
Show references |
F2 |
Rename Symbol |
Ctrl+ K Ctrl+ X |
Trim trailing whitespace |
Ctrl+ K M |
Change file language |
Editor Management :
Shortcut Key |
Task |
Ctrl+ F4, Ctrl+ W |
Close editor |
Ctrl+ K F |
Close folder |
Ctrl+ \
|
Split editor
|
Ctrl+ 1 / 2 / 3 |
Focus into 1st, 2nd or 3rd editor group |
Ctrl+ K Ctrl+ ← / → |
Focus into previous/next editor group |
Ctrl+ Shift+ PgUp / PgDn |
Move editor left/right |
Ctrl+ K ← / → |
Move active editor group |
File Management :
Shortcut Key |
Task |
Ctrl+ N |
New file |
Ctrl+ O |
Open file |
Ctrl+ S |
Save |
Ctrl+ Shift+ S |
Save As.. |
Ctrl+ K S |
Save All |
Ctrl+ K Ctrl+ W |
Close All |
Ctrl+ Shift+ T |
Reopen close editor |
Ctrl+ K Enter |
Keep preview mode editor open |
Ctrl+ Tab
|
Open next
|
Ctrl+ Shift+ Tab |
Open previous |
Ctrl+ K P |
Copy path of active file |
Ctrl+ K R |
Reveal active file in Explorer |
Ctrl+ K O |
Show active filr in new window |
Display :
Shortcut Key |
Task |
F11 |
Toggle full screen |
Shift+ Alt+ O |
Toggle editor layout ( horizontal/vertical ) |
Ctrl+ = / - |
Zoom in/out |
Ctrl+ B |
Toggle sidebar visibility |
Ctrl+ Shift+ E |
Show Explorer / Toggle focus |
Ctrl+ Shift+ F |
Show search |
Ctrl+ Shift+ G |
Show source control |
Ctrl+ Shift+ D |
Show debug |
Ctrl+ Shift+ X |
Show extensions |
Ctrl+ Shift+ H |
Replace files |
Ctrl+ Shift+ J |
Toggle search details |
Ctrl+ Shift+ U |
Show output pannel |
Ctrl+ Shift+ V |
Open Markdown preview |
Ctrl+ K V |
Open Markdown preview to the side |
Ctrl+ K Z |
Zen mode |
Debug :
Shortcut Key |
Task |
F9 |
Toggle breakpoint |
F5 |
Start/Continue |
Shift+ F5 |
Stop |
F10 |
Step over |
Ctrl+ K Ctrl+ I |
Show hover |
Integrated Terminal :
Shortcut Key |
Task |
Ctrl+ ' |
Show integrated terminal |
Ctrl+ Shift+ ' |
Create new terminal |
Ctrl+ C |
Copy Selection |
Ctrl+ V |
Paste into active terminal |
Ctrl+ ↑ / ↓ |
Scroll up/down |
Shift+ PgUp / PgDn |
Scroll page up/down |
Ctrl+ Home / End |
Scroll to top/bottom |
Post a Comment