VS Code Flashcards

1
Q

What are the shortcuts for showing command palette? ( 2 )

A
  1. Ctrl + Shift + P
  2. F1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to quick open file ?

A
  1. Ctrl + P
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to open and close window? ( 2 )

A
  1. Ctrl + Shift + N
  2. Ctrl + Shift + W
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to open user settings?

A
  1. Ctrl + ,
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to change keyboard settings?

A
  1. Ctrl + K then Ctrl + S
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How to move the code above or below?

A
  1. Alt + ↑ / ↓
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How to automatically copy and paste on the above / below ?

A
  1. Shift + Alt + ↑ / ↓
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How to delete the entire line of code?

A
  1. Ctrl + Shift + K
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How to insert a line above or below ? ( 2 )

A
  1. Ctrl + Enter ( Above )
  2. Ctrl + Shift + Enter ( Below )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How to jump to the matching bracket ( {} ) ?

A
  1. Ctrl + Shift + \
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How to indent / outdent line?

A
  1. Ctrl + [ / ]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How to go to the start of the code / end of the file?

A
  1. Ctrl + Home / end
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How to scroll page up and down?

A

Alt + PgUp / PgDn

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

How to collapse / unfold the code with {} ( if ( i > 0 ) { System…(”Yes”) }, it will collapse the System…(”Yes”) )

A
  1. Ctrl + Shift + [ / ]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How to change the code to comment / change back to code?

A
  1. Ctrl + K , Ctrl + C
  2. Ctrl + K, Ctrl + U
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How to toggle line comment

A
  1. Ctrl + /
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

How to navigate a specific line?

A
  1. Ctrl + G
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

How to see created symbols ( created variables , class, methods ), then press what to change the name for the whole project?

A
  1. Ctrl + Shift + O
  2. F2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

How to show problems panel?

A
  1. Ctrl + Shift + M
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Press what to show next / previous error or warning?

A
  1. F8
  2. Shift + F8
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

How to go to previous tab?

A
  1. Ctrl + Shift + Tab
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

How to go back / forward tab

A
  1. Alt + ← / →
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

How to select multiple line by mouse to edit simultaneously

A
  1. Alt + Click
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

How to insert cursor line above / below ?

A

Ctrl + Alt + ↑ / ↓

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
How to undo last cursor operation?
1. Ctrl + U
26
How to highlight current line?
1. Ctrl + L
27
How to format document?
1. Shift + Alt + F
28
How to go to format selection?
1. Ctrl + K , Ctrl + F
29
How to go to definition?
1. F12
30
How to go to peak definition ( open a peak view )?
1. Alt + F12
31
How to open definition on the side?
1. Ctrl + K, F12
32
How to quick fix a code?
1. Ctrl + .
33
How to change the programming language?
1. Ctrl + K , M
34
How to close editor?
1. Ctrl + F4 2. Ctrl + W
35
How to split editor?
1. Ctrl + \
36
How to focus into 1st, 2nd or 3rd editor group?
1. Ctrl + 1 / 2 / 3
37
How to focus into previous / next editor group?
1. Ctrl + K , Ctrl + ←/→
38
How to move the active editor group?
1. Ctrl+K ← / →
39
How to create new file ?
1. Ctrl + N
40
How to open file?
1. Ctrl + O
41
How to save as?
1. Ctrl + Shift + S
42
How to save all?
1. Ctrl + K S
43
How to close all ?
1. Ctrl + K , Ctrl + W
44
How to reopen closed editor?
1. Ctrl + Shift + T
45
How to open file location?
1. Ctrl + K , R
46
How to show active file in new window / instance?
1. Ctrl + K, Ctrl + O
47
How to toggle Full Screen ?
1. F11
48
How to toggle editor layout between vertical or horizontal?
1. Shift + Alt + 0
49
How to toggle sidebar visibility?
1. Ctrl + B
50
How to show Explorer / Toogle Focus
1. Ctrl + Shift + E
51
How to show Search?
1. Ctrl + Shift + F
52
How to show Source Control ?
1. Ctrl + Shift + G
53
How to show Debug?
1. Ctrl + Shift + D
53
How to show Extensions?
1. Ctrl + Shift + X
53
How to replace texts in projects?
1. Ctrl + Shift + H
53
How to toggle breakpoint? ( Red Dots )
1. F9
53
How to toggle output panel?
1. Ctrl + Shift + U
53
How to enter / exit Zen Mode?
1. Ctrl + K and Z 2. Esc 2 times
54
How to start debug the breakpoint?
1. F5
54
How to show integrated terminal below?
1. Ctrl + `
55
How to create new terminal ?
1. Ctrl + Shift + `