Visual Studio Code (Windows) keyboard shortcuts 

Visual Studio Code (Windows)    

Zeynel -
7 years ago
- Shortcuts
0
Ctrl + ↑  Shift + S

Save As

4
Ctrl + -

Zoom out

3
Ctrl + =

Zoom in

1
Ctrl + S

Save

2
F3

Find next

0
Ctrl + N

New File

-2
Ctrl + G

Go to line

2
Ctrl + F

Find

-1
Ctrl + O

Open File

7
Ctrl + H

Replace

0
↑  Shift + F3

Find previous

0
↑  Shift + F11

Step out

0
Ctrl + K then Ctrl + W

Close All

0
Ctrl + C

Copy selection

1
Ctrl + P

Go to file

0
F9

Toggle breakpoint

-2
Home

Go to beginning of line

-2
F11

Toggle full screen

0
F11

Step into

0
End

Go to end of line

0
F10

Step over

1
Ctrl + F4

Close

1
Ctrl + ↑  Shift + O

Go to symbol

6
Ctrl + ↑  Shift + K

Delete line

2
↑  Shift + F5

Stop

0
Shift + Page Up

Scroll page up

0
Shift + Page Down

Scroll page down

0
Ctrl +   

Scroll up/down

0
↑  Shift + Alt +

Expand selection

0
↑  Shift + Alt +

Shrink selection

-1
Alt + Page Up

Scroll page up

-1
Alt + Page Down

Scroll page down

8
↑  Shift + Alt + A

Toggle block comment

1
Ctrl + K then S

Save All

8
Ctrl + C

Copy line (empty selection)

-1
F5

Start/Continue

1
F2

Rename Symbol

1
Ctrl + V

Paste into active terminal

1
Ctrl + X

Cut line (empty selection)

3
Ctrl + D

Add selection to next Find match

1
Ctrl + P

Quick Open, Go to File

-3
Ctrl + I

Select current line

0
Ctrl + R

Open recent

2
Ctrl + B

Toggle Sidebar visibility

1
F8

Go to next error or warning

-2
Ctrl + T

Show all symbols

0
Ctrl + U

Undo last cursor operation

-1
Ctrl + M

Toggle Tab moves focus

-1
Ctrl + K

F Close folder

1
Ctrl + K

Enter Keep preview mode editor open

1
F12

Go to Definition

5
Ctrl + ⤶ Enter

Insert line below

0
Ctrl + 1

Focus into first group

1
Ctrl + ↑  Shift + F

Show Search

0
Ctrl + 2

Focus into second group

0
Ctrl + Tab

Open next

6
Ctrl + ↑  Shift + L

Select all occurrences of current selection

5
Ctrl + Space

Trigger suggestion

1
Ctrl + ↑  Shift + V

Open Markdown preview

Advertisement

0
Ctrl + 3

Focus into third group

0
Ctrl + ↑  Shift + E

Show Explorer / Toggle focus

8
Ctrl + ↑  Shift + N

New window/instance

0
Ctrl + ↑  Shift + D

Show Debug

0
Ctrl + ↑  Shift + T

Reopen closed editor

3
Ctrl + ↑  Shift + M

Show Problems panel

-1
Ctrl + ↑  Shift + G

Show Source Control

-1
Alt + ⤶ Enter

Select all occurences of Find match

1
Ctrl + Home

Go to beginning of file

1
Ctrl + Home

Scroll to top

3
Ctrl + End

Go to end of file

0
Ctrl + End

Scroll to bottom

5
Ctrl + /

Toggle line comment

0
Ctrl + ↑  Shift + U

Show Output panel

0
Ctrl + ↑  Shift + Tab

Navigate editor group history

2
Ctrl + ↑  Shift + Tab

Open previous

1
Ctrl + ↑  Shift + H

Replace in files

-9
Ctrl + ]

Indent/outdent line

5
Ctrl + ↑  Shift + W

Close window/instance

3
Ctrl + [

Indent/outdent line

-2
Alt + C

Toggle case-sensitive

3
Ctrl + ,

User Settings

0
Alt + R

Toggle regex

5
Ctrl + .

Quick Fix

1
Ctrl + ↑  Shift + X

Show Extensions

1
Ctrl + F2

Select all occurrences of current word

3
Alt +

Insert cursor

0
Alt + W

Toggle whole word

2
Ctrl + Alt + M

Pretty JSON formatting

1
Ctrl + ↑  Shift + J

Toggle Search details

5
Ctrl + ↑  Shift + ⤶ Enter

Insert line above

0
↑  Shift + F8

Go to previous error or warning

9
Alt + Z

Toggle word wrap

0
↑  Shift + F12

Show References

6
Ctrl + \

Split editor

0
Ctrl + ↑  Shift + Space

Trigger parameter hints

3
Ctrl +   

Scroll line up/down

1
Ctrl + ↑  Shift + ]

Unfold (uncollapse) region

1
Ctrl + ↑  Shift + [

Fold (collapse) region

0
Ctrl + `

Show integrated terminal

0
Ctrl + Shift + Page Up

Move editor left

0
Ctrl + Shift + Page Down

Move editor right

5
↑  Shift + Alt + F

Format document

2
Alt +   

Go back / forward

1
Alt + F12

Peek Definition

8
↑  Shift + Alt + I

Insert cursor at end of each line selected

6
Alt +   

Move line up/down

0
↑  Shift + Alt + 1

Toggle editor layout (horizontal/vertical)

2
Ctrl + ↑  Shift + \

Jump to matching bracket

5
↑  Shift + Alt +   

Copy line up/down

1
Ctrl + Alt +   

Insert cursor above / below

0
Ctrl + ↑  Shift + `

Create new terminal

1
Ctrl + Shift + Alt + Page Down

Column (box) selection page down

4
Ctrl + K then Ctrl + U

Remove line comment

0
Ctrl + Shift + Alt + Page Up

Column (box) selection page up

2
Ctrl + K then Ctrl + D

Move last selection to next Find match

-1
Ctrl + K then P

Copy path of active file

-1
Ctrl + K then Ctrl + C

Add line comment

0
Ctrl + K then Ctrl + X

Trim trailing whitespace

0
Ctrl + K then Ctrl + I

Show hover

6
Ctrl + K then Ctrl + S

Keyboard Shortcuts

-1
Ctrl + K then Ctrl + [

Fold (collapse) all subregions

-1
Ctrl + K then Ctrl + ]

Unfold (uncollapse) all subregions

0
Ctrl + K then Ctrl + J

Unfold (uncollapse) all regions

2
Ctrl + K then Ctrl + F

Format selection

4
Ctrl + K then Ctrl + 0

Fold (collapse) all regions

1
↑  Shift + Alt +

Column (box) selection

-1
or Ctrl + ↑  Shift + Alt +
0
Ctrl + K then O

Show active file in new window/instance

1
Ctrl + K then Ctrl + O

Open folder

0
Ctrl + K then M

M Change file language

0
Ctrl + K then R

Reveal active file in Explorer

-1
Ctrl + K then V

Open Markdown preview to the side

0
Ctrl + K then Z

Zen Mode (Esc Esc to exit)

8
Ctrl + ↑  Shift + P then F1

Show Command Palette

-1
Ctrl + K then F12

Open Definition to the side

0
Ctrl + K then Ctrl +   

Focus into previous/next editor group

1
Ctrl + K then   

Move active editor group

0
Ctrl + F4 then Ctrl + W

Close editor

Advertisement


Share this page on:
Is this page helpful?
4 0

Program information

Program name: Visual Studio Code (Windows) Visual Studio Code (Windows) (Developer tools)

Web page: code.visualstudio.com

Last update: 2024-11-29 23:10 UTC

More information >>

Updated: Updated program information. (7 updates.) 2019-12-25 10:14:27 Updated program information.
2021-01-16 08:44:28 Added some shortcuts.
2021-01-16 08:45:36 Added some shortcuts.
2021-03-08 16:08:47 Added some shortcuts.
2024-11-29 23:10:11 Updated program information.

Shortcut count: 138

Platform detected: Windows or Linux

Similar programs



Download Visual Studio Code (Windows)

Visual Studio Code (Windows) is available for download.

License: Open source

Go to download page

User operations

Add Visual Studio Code (Windows) to your list of favorites

Advertisement


What is your favorite Visual Studio Code (Windows) hotkey? Do you have any useful tips for it? Let other users know below.


Only registered users can post links.
 
No comments yet. Ask, or type the first one!

Latest articles