VSC Shortcuts Flashcards

1
Q

Toggle sidebar

A

Ctrl + B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Focus on the sidebar

A

Ctrl + Shift + E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Open files

A

Ctrl + P (arrows to select more)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Command Palet

A

Ctrl + Shift + P

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Switch opened files

A

Ctrl + Tab

Ctrl + Shift + Tab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Swich opened files by index

A

Ctrl + Number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Select whole word

A

Ctrl + D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Add next occurence of selected word to active selection

A

Ctrl + D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Select all occurencies of text

A

Ctrl + Shift + L

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Toggle Terminal

A

Ctrl + ` (backtick)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Add cursor in line above / below

A

Ctrl + Alt + ↓ / ↑

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Toggle Terminal sidebar

A

Ctrl + J

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Scroll througn a file (cursor doesn’t move)

A

Ctrl + ↑ / Ctrl + ↓

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Open active file in split window

A

Ctrl + \

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Go to mathching bracket

A

Ctrl + Shift + \

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Copy whole line (not selected anything)

A

Ctrl + C

17
Q

Move line up or down

A

Alt + ↓ / Alt + ↑

18
Q

Duplicate line up or down

A

Shift + Alt + ↑ / ↓

19
Q

Select line

A

Ctrl + L

20
Q

Fold code at n level

A

Ctrl + K → Number

21
Q

Unfold all code

A

Ctrl + K → J

22
Q

Search all variables / functions etc. in opened document

A

BEST: Ctrl + Shift + .

Ctrl + P → @
Ctrl + SHift + O

23
Q

Move to specified line

A

BEST:
Ctrl + G

Ctrl + P → :LineNumber

24
Q

TERMINAL: move cursor by words

A

Ctrl + → / ←

25
Q

TERMINAL: clear terminal

A

Ctrl + K

26
Q

Word wrap

A

Alt + Z

27
Q

Open settings

A

Ctrl + ,

28
Q

Delete current line

A

Ctrl + Shift + K

29
Q

Insert line below

A

Ctrl + Enter

30
Q

Insert line above

A

Ctrl + Shift + Enter

31
Q

Rename all instances

A

F2

32
Q

Zen mode

A

Ctrl + K Z

33
Q

Toggle block comment

A

Shift + Alt + A

34
Q

Open definition on side

A

Ctrl + K F12

35
Q

Show references

A

Shift + F12

36
Q

Trim trailing whitespace

A

Ctrl + K → Ctrl + X