VS Code Flashcards

You may prefer our related Brainscape-certified 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
Q

How to undo last cursor operation?

A
  1. Ctrl + U
26
Q

How to highlight current line?

A
  1. Ctrl + L
27
Q

How to format document?

A
  1. Shift + Alt + F
28
Q

How to go to format selection?

A
  1. Ctrl + K , Ctrl + F
29
Q

How to go to definition?

A
  1. F12
30
Q

How to go to peak definition ( open a peak view )?

A
  1. Alt + F12
31
Q

How to open definition on the side?

A
  1. Ctrl + K, F12
32
Q

How to quick fix a code?

A
  1. Ctrl + .
33
Q

How to change the programming language?

A
  1. Ctrl + K , M
34
Q

How to close editor?

A
  1. Ctrl + F4
  2. Ctrl + W
35
Q

How to split editor?

A
  1. Ctrl + \
36
Q

How to focus into 1st, 2nd or 3rd editor group?

A
  1. Ctrl + 1 / 2 / 3
37
Q

How to focus into previous / next editor group?

A
  1. Ctrl + K , Ctrl + ←/→
38
Q

How to move the active editor group?

A
  1. Ctrl+K ← / →
39
Q

How to create new file ?

A
  1. Ctrl + N
40
Q

How to open file?

A
  1. Ctrl + O
41
Q

How to save as?

A
  1. Ctrl + Shift + S
42
Q

How to save all?

A
  1. Ctrl + K S
43
Q

How to close all ?

A
  1. Ctrl + K , Ctrl + W
44
Q

How to reopen closed editor?

A
  1. Ctrl + Shift + T
45
Q

How to open file location?

A
  1. Ctrl + K , R
46
Q

How to show active file in new window / instance?

A
  1. Ctrl + K, Ctrl + O
47
Q

How to toggle Full Screen ?

A
  1. F11
48
Q

How to toggle editor layout between vertical or horizontal?

A
  1. Shift + Alt + 0
49
Q

How to toggle sidebar visibility?

A
  1. Ctrl + B
50
Q

How to show Explorer / Toogle Focus

A
  1. Ctrl + Shift + E
51
Q

How to show Search?

A
  1. Ctrl + Shift + F
52
Q

How to show Source Control ?

A
  1. Ctrl + Shift + G
53
Q

How to show Debug?

A
  1. Ctrl + Shift + D
53
Q

How to show Extensions?

A
  1. Ctrl + Shift + X
53
Q

How to replace texts in projects?

A
  1. Ctrl + Shift + H
53
Q

How to toggle breakpoint? ( Red Dots )

A
  1. F9
53
Q

How to toggle output panel?

A
  1. Ctrl + Shift + U
53
Q

How to enter / exit Zen Mode?

A
  1. Ctrl + K and Z
  2. Esc 2 times
54
Q

How to start debug the breakpoint?

A
  1. F5
54
Q

How to show integrated terminal below?

A
  1. Ctrl + `
55
Q

How to create new terminal ?

A
  1. Ctrl + Shift + `