0% found this document useful (0 votes)
106 views7 pages

VS Code Shortcut For Developers

Uploaded by

inglevaibhav2112
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views7 pages

VS Code Shortcut For Developers

Uploaded by

inglevaibhav2112
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

General Shortcuts

ctrl + shift + p Show Command Paletter

ctrl + p Quick Open, Go to File...

ctrl + shift + N New window/instance

ctrl + , User Settings

ctrl + K + S Keyboard Shortcuts

Basic Editing Shortcuts

ctrl + x Cut line (empty selection)

ctrl + c Copy line (empty selection)

shift + alt + up/down Move line up/down

ctrl + shift + K Delete line

ctrl + paseHereBoss paseHereBoss

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 + Up/Down Scroll line up/down

ctrl + shift + [ Fold (collapse) region


ctrl + shift + ] Unfold (uncollapse) region

ctrl + K + [ Fold (collapse) all subregions

ctrl + K + ] Unfold (uncollapse) all subregions

ctrl + K + 0 Fold (collapse) all regions

ctrl + K + J Unfold (uncollapse) all regions

ctrl + K + C Add line comment

ctrl + K + U Remove line comment

ctrl + / Toggle line comment

shift + alt + A Toggle block comment

alt + A Toggle word wrap

Navigation Shortcuts

ctrl + T Show all Symbols

ctrl + G Go to Line...

ctrl + paseHereBoss Go to File...

ctrl + P paseHereBoss

ctrl + shift + O Go to Symbol...

ctrl + shift + M Show Problems panel

F8 Go to next error or warning

shift + F8 Go to previous error or warning

ctrl + shift + tab Navigate editor group history

alt + Left/Right Go back/forward


ctrl + M Toggle Tab moves focus

Search and Replace Shortcuts

ctrl + F Find

ctrl + H Replace

F3 Find next

shift + F3 Find previous

alt + Enter Select all occurrences of Find match

ctrl + D Add selection to next Find match

ctrl + K + D Move last selection to next Find match

alt + C/R/W Toggle case-sensitive/regex/whole word

Multi-Cursor and Selection Shortcuts

alt + click Insert cursor

ctrl + alt + Up/Down Insert cursor above/below

ctrl + U Undo last cursor operation

shift + alt + L Insert curlsor at end of each line selected

ctrl + L Select current line

ctrl + shift + L Select all occurrences of current selection

ctrl + F2 Select all occurrences of current word

shift + alt + Right Expand selection

shift + alt + Left Shrink selection

shift + alt + (drag mouse) Column (box) selection


ctrl + shift + alt (arrow key) Column (box) selection

ctrl + shift + alt + PgUp/PgDown Column (box) selection page up/down

Rich Language Shortcuts

ctrl + sapce Trigger suggestion

ctrl + shift + space Trigger parameter hints

shift + alt + F Format document

ctrl + K + F Format selection

F12 Go to Definition

alt + F12 Peek Definition

ctrl + K + F12 Open Definition to the side

ctrl + . Quick Fix

shift + F12 Show References

F1 Rename Symbol

ctrl + K + X Trim trailing whitespace

ctrl + K + M Change file language

File Management Shortcuts

ctrl + N New File

ctrl + O Open File...

ctrl + S Save

ctrl + shift + S Save As...

ctrl + K + S Save All


ctrl + F4 Close

ctrl + K + W Close All

ctrl + shift + T Reopen closed 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 file in new window/instance

Display Shortcuts

F11 Toggle full screen

shift + alt + 0 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 in files

ctrl + shift + J Toggle Search details


ctrl + shift + U Show Output panel

ctrl + shift + V Open Markdown preview

ctrl + K + V Open Markdown preview to the side

ctrl + K + Z Zen Mode (Esc Esc to exit)

Debug Shortcuts

F9 Toggle breakpoint

F5 Start/Continue

shift + F5 Stop

F11 Step into

shift + F11 Step out

F10 Step over

ctrl + K + I Show hover

Integrated Shortcuts

ctrl + ` Show integrated terminal

ctrl + ` integrated

ctrl + shift + ` Create new terminal

ctrl + C Copy selection

ctrl + V Paste into active terminal

ctrl + Up/Down Scroll up/down

ctrl + PgUp/PgDown Scroll page up/down

ctrl + Home/End Scroll to top/bottom


Editor Management Shortcuts

ctrl + F4 Close Editor

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 + Left/Right Focus into previous/next editor group

ctrl + shift + PgUp/PgDown Move editor left/right

ctrl + K + Left/Right Move active editor group

You might also like