Visual Studio Code Keyboard Shortcuts For Windows
Please watch this video to support our content network π
To allow even more keyboard shortcuts VSCode allows Second key of chord. This means you have to press the secondary key after original shortcut combination. In this guide when you see Ctrl+K Ctrl+S it's the same as Ctrl+K, then S. In this case "S" key is the second key of chord.
Second Key Of Chord |
|
---|---|
Command | Shortcut |
Wait for second key of chord | Ctrl + K followed by second key of chord |
General | |
Command | Shortcut |
Show Command Palette | Ctrl+Shift+P, F1 |
Quick Open, Go to File⦠| Ctrl+P |
New window/instance | Ctrl+Shift+N |
Close window/instance | Ctrl+Shift+W |
User Settings | Ctrl+, |
Keyboard Shortcuts | Ctrl+K Ctrl+S |
Basic editing | |
Cut line (empty selection) | Ctrl+X |
Copy line (empty selection) | Ctrl+C |
Move line up/down | Alt+ β / β |
Copy line up/down | Shift+Alt + β / β |
Delete line | Ctrl+Shift+K |
Insert line below | Ctrl+Enter |
Insert line above | Ctrl+Shift+Enter |
Jump to matching bracket | Ctrl+Shift+ |
Indent/outdent line | Ctrl+] / [ |
Go to beginning/end of line | Home / End |
Go to beginning of file | Ctrl+Home |
Go to end of file | Ctrl+End |
Scroll line up/down | Ctrl+β / β |
Scroll page up/down | Alt+PgUp / PgDn |
Fold (collapse) region | Ctrl+Shift+[ |
Unfold (uncollapse) region | Ctrl+Shift+] |
Fold (collapse) all subregions | Ctrl+K Ctrl+[ |
Unfold (uncollapse) all subregions | Ctrl+K Ctrl+] |
Fold (collapse) all regions | Ctrl+K Ctrl+0 |
Unfold (uncollapse) all regions | Ctrl+K Ctrl+J |
Add line comment | Ctrl+K Ctrl+C |
Remove line comment | Ctrl+K Ctrl+U |
Toggle line comment | Ctrl+/ |
Toggle block comment | Shift+Alt+A |
Toggle word wrap | Alt+Z |
Navigation | |
Show all Symbols | Ctrl+T |
Go to Line... | Ctrl+G |
Go to File... | Ctrl+P |
Go to Symbol... | Ctrl+Shift+O |
Show Problems panel | Ctrl+Shift+M |
Go to next error or warning | F8 |
Go to previous error or warning | Shift+F8 |
Navigate editor group history | Ctrl+Shift+Tab |
Go back / forward | Alt+ β / β |
Toggle Tab moves focus | Ctrl+M |
Search and replace | |
Find | Ctrl+F |
Replace | Ctrl+H |
Find next/previous | F3 / Shift+F3 |
Select all occurences of Find match | Alt+Enter |
Add selection to next Find match | Ctrl+D |
Move last selection to next Find match | Ctrl+K Ctrl+D |
Toggle case-sensitive / regex / whole word | Alt+C / R / W |
Multi-cursor and selection | |
Insert cursor | Alt+Click |
Insert cursor above / below | Ctrl+Alt+ β / β |
Undo last cursor operation | Ctrl+U |
Insert cursor at end of each line selected | Shift+Alt+I |
Select current line | Ctrl+L |
Select all occurrences of current selection | Ctrl+Shift+L |
Select all occurrences of current word | Ctrl+F2 |
Expand selection | Shift+Alt+β |
Shrink selection | Shift+Alt+β |
Column (box) selection | Shift+Alt +(drag mouse) |
Column (box) selection | Ctrl+Shift+Alt+ (arrow key) |
Column (box) selection page up/down | Ctrl+Shift+Alt+PgUp/PgDn |
Rich languages editing | |
Trigger suggestion | Ctrl+Space |
Trigger parameter hints | Ctrl+Shift+Space |
Format document | Shift+Alt+F |
Format selection | Ctrl+K Ctrl+F |
Go to Definition | F12 |
Peek Definition | Alt+F12 |
Open Definition to the side | Ctrl+K F12 |
Quick Fix | Ctrl+. |
Show References | Shift+F12 |
Rename Symbol | F2 |
Trim trailing whitespace | Ctrl+K Ctrl+X |
Change file language | Ctrl+K M |
Editor management | |
Close editor | Ctrl+F4, Ctrl+W |
Close folder | Ctrl+K F |
Split editor | Ctrl+ |
Focus into 1st, 2nd or 3rd editor group | Ctrl+ 1 / 2 / 3 |
Focus into previous/next editor group | Ctrl+K Ctrl+ β/β |
Move editor left/right | Ctrl+Shift+PgUp / PgDn |
Move active editor group | Ctrl+K β / β |
File management | |
New File | Ctrl+N |
Open File... | Ctrl+O |
Save | Ctrl+S |
Save As... | Ctrl+Shift+S |
Save All | Ctrl+K S |
Close | Ctrl+F4 |
Close All | Ctrl+K Ctrl+W |
Reopen closed editor | Ctrl+Shift+T |
Keep preview mode editor open | Ctrl+K Enter |
Open next | Ctrl+Tab |
Open previous | Ctrl+Shift+Tab |
Copy path of active file | Ctrl+K P |
Reveal active file in Explorer | Ctrl+K R |
Show active file in new window/instance | Ctrl+K O |
Display | |
Toggle full screen | F11 |
Toggle editor layout (horizontal/vertical) | Shift+Alt+0 |
Zoom in/out | Ctrl+ = / - |
Toggle Sidebar visibility | Ctrl+B |
Show Explorer / Toggle focus | Ctrl+Shift+E |
Show Search | Ctrl+Shift+F |
Show Source Control | Ctrl+Shift+G |
Show Debug | Ctrl+Shift+D |
Show Extensions | Ctrl+Shift+X |
Replace in files | Ctrl+Shift+H |
Toggle Search details | Ctrl+Shift+J |
Show Output panel | Ctrl+Shift+U |
Open Markdown preview | Ctrl+Shift+V |
Open Markdown preview to the side | Ctrl+K V |
Zen Mode (Esc Esc to exit) | Ctrl+K Z |
Debug | |
Toggle breakpoint | F9 |
Start/Continue | F5 |
Stop | Shift+F5 |
Step into/out | F11 / Shift+F11 |
Step over | F10 |
Show hover | Ctrl+K Ctrl+I |
Integrated terminal | |
Show integrated terminal | Ctrl+` |
Create new terminal | Ctrl+Shift+` |
Copy selection | Ctrl+C |
Paste into active terminal | Ctrl+V |
Scroll up/down | Ctrl+β / β |
Scroll page up/down | Shift+PgUp / PgDn |
Scroll to top/bottom | Ctrl+Home / End |
Add or Modify Keyboard Shortcut (how to add your own vsc keyboard shortcut) |
Ctrl + K then S |
This is the equivalent of original Microsoft VSCode PDF file.
Please watch this video to support our content network π
Articles Related To Undefined Community
- DaVinci Resolve 18: How To Brighten Video Clip on 23 Dec 2022 by Ghost Together
- How To Fade Out In DaVinci Resolve (Fade In To and From Black) on 20 Dec 2022 by Ghost Together
- How To Animate Zoom Effect In DaVinci Resolve 18 on 20 Dec 2022 by Ghost Together
- Zoom In On Video Clip In Davinci Resolve 18 on 18 Dec 2022 by Ghost Together
- asdasdasdasdasd on 10 Dec 2022 by Ghost Together
- How to Install MinGW w64 64-bit on Windows (C/C++ Compiler) on 3 Nov 2022 by Ghost Together
- How To Crop Video In Premiere Pro on 20 Sep 2022 by Ghost Together
- How To Change Font Size In VSCode (Visual Studio Code) on 29 Jul 2022 by Ghost Together
- How To Fix MinGW File Downloaded Incorrectly on 30 Jul 2022 by Ghost Together
- Shrink or Expand Text Selection (VS Code Keyboard Shortcut) on 27 Mar 2022 by Ghost Together
Last 10 Articles Written On Ghost Together
- xv on 24 Jun 2024 by AndrewOcean
- How to get started on 17 Dec 2023 by Kenya
- How To Make Characters In Midjourney on 14 Dec 2023 by Ghost Together
- How to make money online on 12 Dec 2023 by DRSMS313
- How To Make Consistent Characters In Midjourney on 12 Dec 2023 by Ghost Together
- Wildfires and Wastelands on 10 Dec 2023 by A. Stranger
- How To Download, Install And Activate Davinci Resolve Studio 18 on 10 Dec 2023 by Ghost Together
- How to use LUTs in Davinci Resolve 18 on 10 Dec 2023 by Ghost Together
- Write about Association between surface of the polyp with histomorphology Polypoi... on 10 Dec 2023 by msjrez
- How To Zoom On Video In Davinci Resolve on 10 Dec 2023 by Ghost Together
Last 10 Undefined Questions Asked On Ghost Overflow
- Ask your first Undefined question! (Help us build the largest database of questions on any subject)