Visual Studio Code (Linux)

File management

Close All

Ctrl + K then Ctrl + W

All hotkeys for Visual Studio Code (Linux)

General
F1 Show Command Palette

Ctrl + ↑   Shift + P then F1

Navigation
Go to file

Ctrl + P

General
New window/instance

Ctrl + ↑   Shift + N

File management
Close

Ctrl + W

General
User Settings

Ctrl + ,

General
Keyboard Shortcuts

Ctrl + K then Ctrl + S

Basic editing
Cut line (empty selection)

Ctrl + X

Basic editing
Copy line (empty selection)

Ctrl + C

Basic editing
Move line up/down

Alt + ↑  ↓

Basic editing
Delete line

Ctrl + ↑   Shift + K

Basic editing
Insert line below

Ctrl + ⤶ Enter

Basic editing
Insert line above

Ctrl + ↑   Shift + ⤶ Enter

Basic editing
Jump to matching bracket

Ctrl + ↑   Shift + \

Basic editing
Indent/outdent line

Ctrl + ]

Basic editing
Indent/outdent line

Ctrl + [

Basic editing
Go to beginning of line

Home

Basic editing
Go to end of line

End

Integrated terminal
Scroll to top

Ctrl + Home

Integrated terminal
Scroll to bottom

Ctrl + End

Basic editing
Scroll line up/down

Ctrl + ↑  ↓

Basic editing
Scroll page up

Alt + Page Up

Basic editing
Scroll page down

Alt + Page Down

Basic editing
Fold (collapse) region

Ctrl + ↑   Shift + [

Basic editing
Unfold (uncollapse) region

Ctrl + ↑   Shift + ]

Basic editing
Fold (collapse) all subregions

Ctrl + K then Ctrl + [

Basic editing
Unfold (uncollapse) all subregions

Ctrl + K then Ctrl + ]

Basic editing
Fold (collapse) all regions

Ctrl + K then Ctrl + 0

Basic editing
Unfold (uncollapse) all regions

Ctrl + K then Ctrl + J

Basic editing
Add line comment

Ctrl + K then Ctrl + C

Basic editing
Remove line comment

Ctrl + K then Ctrl + U

Basic editing
Toggle line comment

Ctrl + /

Basic editing
Toggle block comment

↑   Shift + Alt + A

Basic editing
Toggle word wrap

Alt + Z

Navigation
Show all symbols

Ctrl + T

Navigation
Go to line

Ctrl + G

Navigation
Go to symbol

Ctrl + ↑   Shift + O

Navigation
Show Problems panel

Ctrl + ↑   Shift + M

Navigation
Go to next error or warning

F8

Navigation
Go to previous error or warning

↑   Shift + F8

File management
Open previous

Ctrl + ↑   Shift + ⭾ Tab

Navigation
Go back

Ctrl + Alt + -

Navigation
Go forward

Ctrl + ↑   Shift + -

Navigation
Toggle Tab moves focus

Ctrl + M

Search and replace
Find

Ctrl + F

Search and replace
Replace

Ctrl + H

Search and replace
Find next

F3

Search and replace
Find previous

↑   Shift + F3

Search and replace
Select all occurences of Find match

Alt + ⤶ Enter

Search and replace
Add selection to next Find match

Ctrl + D

Search and replace
Move last selection to next Find match

Ctrl + K then Ctrl + D

Multi-cursor and selection
Insert cursor

Alt + Mouse left click

Multi-cursor and selection
Insert cursor above / below

↑   Shift + Alt + ↑  ↓

Multi-cursor and selection
Undo last cursor operation

Ctrl + U

Multi-cursor and selection
Insert cursor at end of each line selected

↑   Shift + Alt + I

Multi-cursor and selection
Select current line

Ctrl + I

Multi-cursor and selection
Select all occurrences of current selection

Ctrl + ↑   Shift + L

Multi-cursor and selection
Select all occurrences of current word

Ctrl + F2

Multi-cursor and selection
Expand selection

↑   Shift + Alt +

Multi-cursor and selection
Shrink selection

↑   Shift + Alt +

Multi-cursor and selection
Column (box) selection

↑   Shift + Alt + Mouse movement

Multi-cursor and selection
Column (box) selection

Ctrl + ↑   Shift + Alt + ← ↑ → ↓

Rich languages editing
Trigger suggestion

Ctrl + Space

Rich languages editing
Trigger parameter hints

Ctrl + ↑   Shift + Space

Rich languages editing
Format document

Ctrl + ↑   Shift + I

Rich languages editing
Format selection

Ctrl + K then Ctrl + F

Rich languages editing
Go to Definition

F12

Rich languages editing
Peek Definition

Ctrl + ↑   Shift + F10

Rich languages editing
12 Open Definition to the side

Ctrl + K then F12

Rich languages editing
Quick Fix

Ctrl + .

Rich languages editing
Show References

↑   Shift + F12

Rich languages editing
Rename Symbol

F2

Rich languages editing
Trim trailing whitespace

Ctrl + K then Ctrl + X

Rich languages editing
M Change file language

Ctrl + K then M

Editor management
F Close folder

Ctrl + K then F

Editor management
Split editor

Ctrl + \

Editor management
Focus into first group

Ctrl + 1

Editor management
Focus into second group

Ctrl + 2

Editor management
Focus into third group

Ctrl + 3

Editor management
Focus into previous/next editor group

Ctrl + K then Ctrl + ←  →

Editor management
Move editor left

Ctrl + Shift + Page Up

Editor management
Move editor right

Ctrl + Shift + Page Down

Editor management
ht Move active editor group

Ctrl + K then ←  →

File management
New File

Ctrl + N

File management
Open File

Ctrl + O

File management
Save

Ctrl + S

File management
Save As

Ctrl + ↑   Shift + S

Display
Z Zen Mode (Esc Esc to exit)

Ctrl + K

File management
Close All

Ctrl + K then Ctrl + W

File management
Reopen closed editor

Ctrl + ↑   Shift + T

File management
Open next

Ctrl + ⭾ Tab

File management
P Copy path of active file

Ctrl + K then P

File management
Reveal active file in Explorer

Ctrl + K then R

File management
Show active file in new window/instance

Ctrl + K then O

Debug
Step into

F11

Display
Toggle editor layout (horizontal/vertical)

↑   Shift + Alt + 1

Display
Zoom in

Ctrl + =

Display
Zoom out

Ctrl + -

Display
Toggle Sidebar visibility

Ctrl + B

Display
Show Explorer / Toggle focus

Ctrl + ↑   Shift + E

Display
Show Search

Ctrl + ↑   Shift + F

Display
Show Source Control

Ctrl + ↑   Shift + G

Display
Show Debug

Ctrl + ↑   Shift + D

Display
Show Extensions

Ctrl + ↑   Shift + X

Display
Replace in files

Ctrl + ↑   Shift + H

Display
Toggle Search details

Ctrl + ↑   Shift + J

Integrated terminal
Copy selection

Ctrl + ↑   Shift + C

Integrated terminal
Paste into active terminal

Ctrl + ↑   Shift + V

Debug
Toggle breakpoint

F9

Debug
Start/Continue

F5

Debug
Stop

↑   Shift + F5

Debug
Step out

↑   Shift + F11

Debug
Step over

F10

Debug
Show hover

Ctrl + K then Ctrl + I

Integrated terminal
Show integrated terminal

Ctrl + `

Integrated terminal
Create new terminal

Ctrl + ↑   Shift + `

Integrated terminal
Scroll up/down

Ctrl + ↑   Shift + ↑  ↓

Integrated terminal
Scroll page up

Shift + Page Up

Integrated terminal
Scroll page down

Shift + Page Down

Similar combinations for other applications


Visual Studio Code (Windows)
Close All
File Management

Ctrl + K then Ctrl + W


Atom (Windows)
pane:close
All shortcuts

Ctrl + K then Ctrl + W


Microsoft Visual Studio 2017 (Most used shortcuts)
[Workflow Designer] Edit.CompleteWord
Edit

Ctrl + K then Ctrl + W


Microsoft Visual Studio 2017 (All shortcuts)
View.BookmarkWindow
View

Ctrl + K then Ctrl + W


Visual Studio Code (Windows)
Close All
File management

Ctrl + K then Ctrl + W