blob: e856eec5f513ba68ae03f9d154869fd9af6bca16 (
plain)
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
|
==_Extensions:_==
**autoDocstring
autopep8
C/C++
C/C++ Extension Pack
C/C++ Themes
Code Runner
Material Icon Theme
PlatformiO IDE
Pylance
Python
Python Debugger
Russian Language Pack for Visual Studio
Vim**
================================
## Table of Contents
- [VSCode Keyboard Shortcuts for Developers](#vscode-keyboard-shortcuts-for-developers)
- [General Shortcuts](#general-shortcuts)
- [Basic Editing](#basic-editing)
- [Rich Languages Editing](#rich-languages-editing)
- [Multi-cursor and Selection](#multi-cursor-and-selection)
- [Display](#display)
- [Search and Replace](#search-and-replace)
- [Navigation](#navigation)
- [Editor Management](#editor-management)
- [File Management](#file-management)
- [Debug](#debug)
- [Integrated Terminal](#integrated-terminal)
# VSCode Keyboard Shortcuts for Developers
## General Shortcuts
| Command | Description |
| ------- | ----------- |
| `Ctrl + Shift + P` | Show Command Palette |
| `Ctrl + Shift + X` | Show Extensions |
## Basic Editing
| Command | Description |
| ------- | ----------- |
| `Ctrl + A` | Select All |
| `Ctrl + C` | Copy line |
| `Ctrl + D` | Duplicate line |
| `Ctrl + L` | Select current line |
| `Ctrl + X` | Cut line |
| `Ctrl + U` | Undo last cursor operation |
| `Ctrl + V` | Paste |
| `Ctrl + Y` | Redo Changes |
| `Ctrl + Z` | Undo Changes |
| `Alt + Down` | Move Line Down |
| `Alt + Up` | Move Line Up|
## Rich Languages Editing
| Command | Description |
| ------- | ----------- |
| `F2` | Rename Symbol |
| `Shift + F12` | Go to References |
| `F12` | Go to Definition |
| `Ctrl + Space` | Trigger Suggest |
| `Ctrl + .` | Quick Fix |
## Multi-cursor and Selection
| Command | Description |
| ------- | ----------- |
| `Alt + Click` | Insert cursor |
| `Shift + Alt + UpArrow` | Copy line up |
| `Shift + Alt + DownArrow` | Copy line down |
| `Shift + Alt + Click` | Select text in blocks |
| `Ctrl + Alt + UpArrow` | Add cursor above |
| `Ctrl + Alt + DownArrow` | Add cursor below |
| `Ctrl + Shift + K` | Delete line |
| `Ctrl + Shift + L` | Select all occurrences of current selection |
## Display
| Command | Description |
| ------- | ----------- |
| `Ctrl + Shift + F` | Show Search |
## Search and Replace
| Command | Description |
| ------- | ----------- |
| `Ctrl + F` | Find |
| `Ctrl + H` | Replace |
| `Ctrl + Shift + F` | Find in Files |
| `Ctrl + Shift + H` | Replace in Files |
| `Ctrl + Shift + Enter` | Replace All |
## Navigation
| Command | Description |
| ------- | ----------- |
| `Ctrl + P` | Go to File |
| `Ctrl + J` | Toggle panel (Opens/closes terminal) |
| `Ctrl + B` | Toggle primary sidebar |
| `Ctrl + Shift + E` | Go to explorer |
| `Ctrl + Shift + X` | Go to extensions |
| `Ctrl + Shift + D` | Go to Run and Debug |
| `Ctrl + Shift + G` | Go to Source Control |
| `Ctrl + Shift + H` | Go to Search |
| `Ctrl + Shift + J` | Go to Problems |
| `` Ctrl + ↑/↓ ``| Scroll up/down |
| `` Ctrl+ Home/End ``| Scroll top/bottom |
## Editor Management
| Command | Description |
| ------- | ----------- |
| `Ctrl + W` | Close Editor |
| `Ctrl + \` | Split Editor |
| `Ctrl + Shift + PgUp` | Move Editor Left |
| `Ctrl + Shift + PgDn` | Move Editor Right |
## File Management
| Command | Description |
| ------- | ----------- |
| `Ctrl + N` | New Text File |
| `Ctrl + O` | Open |
| `Ctrl + S` | Save |
| `Ctrl + Shift + S` | Save As |
| `Ctrl + W` | Close |
| `Ctrl + Shift + T` | Open Recently Closed Editor |
## Debug
| Command | Description |
| ------- | ----------- |
| `F9` | Toggle Breakpoint |
| `F5` | Start |
| `Ctrl + F5` | Start (without debugging) |
| `F11` | Step Into |
## Integrated Terminal
| Command | Description |
| ------- | ----------- |
| `` Ctrl + ` `` | Show integrated terminal |
| `` Ctrl + Shift + ` `` | Create new integrated terminal |
|