-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVisualStudioCode Hacks ...txt
More file actions
142 lines (109 loc) · 5.1 KB
/
VisualStudioCode Hacks ...txt
File metadata and controls
142 lines (109 loc) · 5.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
Ctrl + Shift
1. Ctrl + Shift + \ = Jump to matching bracket
2. Ctrl + Shift + ` = Create new terminal Integrated terminal
3. Ctrl + Shift + Home = Top/First page of file
4. Ctrl + Shift + End = Bottom/last page of file
5. Ctrl + Shift + Tab OR Ctrl + Shift + PgUp / PgDn OR Ctrl + Tab OR Alt + Left/Right Arrow = Navigate editor group history – Jitni files khuli he unke bich me switch
6. Ctrl + Shift + Enter = Insert Line Above
7. Ctrl + Shift + C = Copy from Terminal
8. Ctrl + Shift + D = Show Debug
9. Ctrl + Shift + E = Show Explorer Files
10. Ctrl + Shift + F = Show Search Display
11. Ctrl + Shift + F = Uses for ek hi word baar baar h to use select krne k liye
12. Ctrl + Shift + G+G = Open Git Controls
13. Ctrl + Shift + K = Delete the Line
14. Ctrl + Shift + L = Kisi word ko select kr k vo word jitni baar h utne cursors create krna
15. Ctrl + Shift + M = Show Problems panel
16. Ctrl + Shift + N = Open New Window
17. Ctrl + Shift + O = Go to Symbol. When we have multiple sections or functions
18. Ctrl + Shift + P OR F1 = Show Command Palette
19. Ctrl + Shift + R = Reload All Extensions & Directory OR Developer: Restart Extension Host
20. Ctrl + Shift + S = Save file in directory
21. Ctrl + Shift + T = Reopen the closed tab
22. Ctrl + Shift + U = Show Output panel
23. Ctrl + Shift + V = Paste in Integrated Terminal
24. Ctrl + Shift + W = Close All Windows/Tabs at a time
25. Ctrl + Shift + X = Show Extensions
Ctrl +
1. ctrl+/ <! -- --> = is a method for comment, for particular line.
2. ctrl+` (back tree) = is uses for open the terminal in visual code studio
3. Ctrl+, = User Settings
4. Ctrl +. = Generate Documentation
5. Ctrl+\ = Split editor. Split that selected editor tab in a separate tab
6. Ctrl+↑ / ↓ = Scroll line up/down
7. Ctrl+] / [ = Indent/outdent line
8. Ctrl+ + - = Zoom in/out
9. CTRL + ENTER is shortcut for enter in next line
10. Ctrl + Home = Go to beginning of file
11. Ctrl + End = Go to end of file
12. Ctrl + Shift + [ = Fold (collapse) region, comment ke under jitna he sb fold inside comment
13. Ctrl + Shift +] = Unfold (uncollapse) region, comment ke under jo content folded tha use unfolded
14. Ctrl + B = Open/Close Side Bar
15. Ctrl + D = Jo word he vo jaha jaha he use ek ek kr select krna
16. Ctrl + F = Find
17. Ctrl + G = Go to at this line
18. Ctrl + H = Replace
19. Ctrl + I = Quick Suggestions, Ask from Copilot
20. Ctrl + J = Close and Clear the Terminal
21. Ctrl + K = for clearing terminal by not closing the output window
22. Ctrl+ K S = Save All Files in one go
23. Ctrl + N = New File
24. Ctrl + O = Open File
25. Ctrl + P = Quick Open, Go to File
26. Ctrl + S = Save File
27. Ctrl + T = Cursor in Search bar
28. Ctrl + U = Undo last cursor operation, last selected cursor pr jaana us word ke
29. Ctrl + W = Close Editor
30. Ctrl + Scroll Up Down = Page Scroll Up and Down
Shift
1. Shift + Home = Go at begin of the line
2. Shift + End = Go at end of the line
3. Shift + Pg up = Scroll Page up
4. Shift + Pg Down = Scroll Page Down
5. Shift + Delete = Delete current row
6. Shift + Fun + Ctrl+ up & down arrow => to change the file tab or reordering of opened tabs
7. SHIFT+ ALT + AERROW KEY: - For copy pasting the same line in VS code use
8. Shift + Alt + A = Start Multiline Comment OR Block Comment
9. Shift + Alt + I = Put cursor at the end of each line which are selected
Alt
1. Alt + M = kill the Terminal
2. ALT+ Up Arrow/ Down Arrow = for changing line up & down
3. ALT+ Z = for converting lorem vertical line to a single paragraph section.
4. ALT + Mouse Click: - Multi cursor concept using
My Created Shortcuts
1. Alt + X = to view the Minimap
2. Ctrl + Shift + R = Reload all extensions and windows
3. Alt + ' = Copy Output from Terminal
4. Ctrl + ' = Run Code
5. Alt + k = Opne Keyboard SHorcuts
6. Alt + l = Text Pastry - 1 to x -
Other Useful
LoremN - command is uses for get the paragraph of N words
F12 = Go to Definition
F11 – Full Screen or Short Screen as per window size required
In vs code on pressing Insert Key - then the curson becomes selecing cursor at the same place.
In my keyboard - When num lock is turned off keyboard work simple keyboard for the keys - ctrl,shft,fun,home,end,pgup & pgdwn. And when the num lock is on as usual it works simply according to it.
VS code Universal Documentation –
https://code.visualstudio.com/
TO getting github repo in vs code -
use 1s after the respective github repository
https://github.com/ShubhamMahajan880/Back-to-Data-Structures..-
https://github1s.com/ShubhamMahajan880/Back-to-Data-Structures..-
vs Codes changes settings by me -
To making if syntax at top -
Press Ctrl + Shift + P
Type: Preferences: Open Settings (JSON)
Hit Enter
"editor.snippetSuggestions": "top",
Save it.
Reset Entire VS Code Settings -
%userprofile%\AppData\Roaming\Code\User
To get all extensions -
code --list-extensions
For extensions -
@disabled
@enabled – Show all enabled extensions.
@builtin – Show all built-in extensions (pre-installed with VS Code).
@installed – Show all extensions you've installed.
@outdated – Show all extensions that have updates available.
@recommended – Extensions recommended based on your usage.