-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvscode-linux.html
More file actions
151 lines (137 loc) · 14.5 KB
/
vscode-linux.html
File metadata and controls
151 lines (137 loc) · 14.5 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
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VS Code (Linux) Shortcuts | Master List (100+ Shortcuts)</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" href="favicon.png">
<script src="https://unpkg.com/lucide@latest"></script>
<style>
.category-header {
margin: 2rem 0 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--glass-border);
color: var(--accent);
font-size: 1.25rem;
font-weight: 600;
text-align: left;
}
</style>
</head>
<body>
<header>
<a href="index.html" class="back-link">
<i data-lucide="arrow-left" style="margin-right: 8px;"></i> Back to Home
</a>
<h1>VS Code (Linux) Master Guide</h1>
<p class="subtitle">Complete library of 100+ keyboard shortcuts for Visual Studio Code on Linux distributions.</p>
<div class="search-container">
<i data-lucide="search" class="search-icon"></i>
<input type="text" id="shortcutSearch" placeholder="Search 100+ shortcuts...">
</div>
</header>
<main>
<div class="shortcut-list" id="shortcutContainer">
<div class="category-header">General Shortcuts</div>
<div class="shortcut-item"><span class="shortcut-desc">Show Command Palette</span><span class="shortcut-key">Ctrl + Shift + P</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Quick Open (Go to File)</span><span class="shortcut-key">Ctrl + P</span></div>
<div class="shortcut-item"><span class="shortcut-desc">New Window/Instance</span><span class="shortcut-key">Ctrl + Shift + N</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Close Window/Instance</span><span class="shortcut-key">Ctrl + Shift + W</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Open User Settings</span><span class="shortcut-key">Ctrl + ,</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Keyboard Shortcuts Editor</span><span class="shortcut-key">Ctrl + K Ctrl + S</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Toggle Sidebar</span><span class="shortcut-key">Ctrl + B</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Show Extensions</span><span class="shortcut-key">Ctrl + Shift + X</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Toggle Full Screen</span><span class="shortcut-key">F11</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Toggle Integrated Terminal</span><span class="shortcut-key">Ctrl + `</span></div>
<div class="category-header">Basic Editing</div>
<div class="shortcut-item"><span class="shortcut-desc">Cut Line (empty selection)</span><span class="shortcut-key">Ctrl + X</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Copy Line (empty selection)</span><span class="shortcut-key">Ctrl + C</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Move Line Up/Down</span><span class="shortcut-key">Alt + Up/Down</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Copy Line Up/Down</span><span class="shortcut-key">Shift + Alt + Up/Down</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Delete Line</span><span class="shortcut-key">Ctrl + Shift + K</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Insert Line Below/Above</span><span class="shortcut-key">Ctrl + Enter / Ctrl + Shift + Enter</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Jump to Matching Bracket</span><span class="shortcut-key">Ctrl + Shift + \</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Indent/Outdent Line</span><span class="shortcut-key">Ctrl + ] / [</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Toggle Line Comment</span><span class="shortcut-key">Ctrl + /</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Toggle Block Comment</span><span class="shortcut-key">Shift + Alt + A</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Format Document</span><span class="shortcut-key">Shift + Alt + F</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Format Selection</span><span class="shortcut-key">Ctrl + K Ctrl + F</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Trim Trailing Whitespace</span><span class="shortcut-key">Ctrl + K Ctrl + X</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Change Language Mode</span><span class="shortcut-key">Ctrl + K M</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Auto Fix Available</span><span class="shortcut-key">Ctrl + . (dot)</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Symbol Rename</span><span class="shortcut-key">F2</span></div>
<div class="category-header">Navigation & Symbols</div>
<div class="shortcut-item"><span class="shortcut-desc">Show All Symbols</span><span class="shortcut-key">Ctrl + T</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Go to Line...</span><span class="shortcut-key">Ctrl + G</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Go to Symbol in File...</span><span class="shortcut-key">Ctrl + Shift + O</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Show Problems Panel</span><span class="shortcut-key">Ctrl + Shift + M</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Go to Next Problem</span><span class="shortcut-key">F8</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Go to Previous Problem</span><span class="shortcut-key">Shift + F8</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Go to Definition</span><span class="shortcut-key">F12</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Peek Definition</span><span class="shortcut-key">Alt + F12</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Open Definition to the Side</span><span class="shortcut-key">Ctrl + K F12</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Show References</span><span class="shortcut-key">Shift + F12</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Go to Next/Previous Editor</span><span class="shortcut-key">Ctrl + PageDown / PageUp</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Go Back / Forward</span><span class="shortcut-key">Alt + Left / Right</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Switch focus into Side Bar</span><span class="shortcut-key">Ctrl + 0</span></div>
<div class="category-header">Multi-cursor & Selection</div>
<div class="shortcut-item"><span class="shortcut-desc">Insert Cursor</span><span class="shortcut-key">Alt + Click</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Insert Cursor Above / Below</span><span class="shortcut-key">Ctrl + Alt + Up / Down</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Undo Last Cursor Operation</span><span class="shortcut-key">Ctrl + U</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Insert cursor at end of each line selected</span><span class="shortcut-key">Shift + Alt + I</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Select All Occurrences of Current Selection</span><span class="shortcut-key">Ctrl + Shift + L</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Select All Occurrences of Current Word</span><span class="shortcut-key">Ctrl + F2</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Add selection to next Find match</span><span class="shortcut-key">Ctrl + D</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Move last selection to next Find match</span><span class="shortcut-key">Ctrl + K Ctrl + D</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Shrink / Expand Selection</span><span class="shortcut-key">Shift + Alt + Left / Right</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Column (box) selection</span><span class="shortcut-key">Shift + Alt + (drag mouse)</span></div>
<div class="category-header">Search & Replace</div>
<div class="shortcut-item"><span class="shortcut-desc">Find</span><span class="shortcut-key">Ctrl + F</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Replace</span><span class="shortcut-key">Ctrl + H</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Find Next / Previous</span><span class="shortcut-key">F3 / Shift + F3</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Select All Occurrences of Find match</span><span class="shortcut-key">Alt + Enter</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Toggle Case-sensitive</span><span class="shortcut-key">Alt + C</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Toggle Regex</span><span class="shortcut-key">Alt + R</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Toggle Whole Word</span><span class="shortcut-key">Alt + W</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Global Search</span><span class="shortcut-key">Ctrl + Shift + F</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Global Replace</span><span class="shortcut-key">Ctrl + Shift + H</span></div>
<div class="category-header">Editor Management</div>
<div class="shortcut-item"><span class="shortcut-desc">Close Editor</span><span class="shortcut-key">Ctrl + F4 / Ctrl + W</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Close Folder</span><span class="shortcut-key">Ctrl + K F</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Split Editor</span><span class="shortcut-key">Ctrl + \</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Focus into 1st, 2nd, 3rd Editor Group</span><span class="shortcut-key">Ctrl + 1 / 2 / 3</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Focus into Previous/Next Group</span><span class="shortcut-key">Ctrl + K Ctrl + Left / Right</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Move Editor Left / Right</span><span class="shortcut-key">Ctrl + Shift + PageUp / PageDown</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Move Active Editor Group</span><span class="shortcut-key">Ctrl + K Left / Right</span></div>
<div class="category-header">File Management</div>
<div class="shortcut-item"><span class="shortcut-desc">New File</span><span class="shortcut-key">Ctrl + N</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Open File...</span><span class="shortcut-key">Ctrl + O</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Save</span><span class="shortcut-key">Ctrl + S</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Save All</span><span class="shortcut-key">Ctrl + K S</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Save As...</span><span class="shortcut-key">Ctrl + Shift + S</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Close Current File</span><span class="shortcut-key">Ctrl + F4</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Close All Files</span><span class="shortcut-key">Ctrl + K Ctrl + W</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Reopen Closed Editor</span><span class="shortcut-key">Ctrl + Shift + T</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Keep Preview Mode Editor Open</span><span class="shortcut-key">Ctrl + K Enter</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Copy Path of Active File</span><span class="shortcut-key">Ctrl + K P</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Reveal Active File in Explorer</span><span class="shortcut-key">Src / Home Browser</span></div>
<div class="category-header">Debug & Terminal</div>
<div class="shortcut-item"><span class="shortcut-desc">New Terminal</span><span class="shortcut-key">Ctrl + Shift + `</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Scroll Terminal Up/Down</span><span class="shortcut-key">Ctrl + Up / Down</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Toggle Debug Consol</span><span class="shortcut-key">Ctrl + Shift + Y</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Start Debugging</span><span class="shortcut-key">F5</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Stop Debugging</span><span class="shortcut-key">Shift + F5</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Step Over</span><span class="shortcut-key">F10</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Step Into</span><span class="shortcut-key">F11</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Step Out</span><span class="shortcut-key">Shift + F11</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Toggle Breakpoint</span><span class="shortcut-key">F9</span></div>
<div class="shortcut-item"><span class="shortcut-desc">Show Debug Panel</span><span class="shortcut-key">Ctrl + Shift + D</span></div>
</div>
</main>
<footer>
<p>© 2024 Shortcut Guide. Designed with ❤️ by <a href="https://github.com/CodeWithTanim" target="_blank">CodeWithTanim</a></p>
</footer>
<script src="script.js"></script>
</body>
</html>