Home >Development Tools >VSCode >[Hematemesis sorting] Sharing super practical shortcut keys for vscode to improve your work efficiency!
This article will share with you some vscode super practical shortcut keys to improve your work efficiency and get twice the result with half the effort. Come and collect it!
Visual Studio Code is a very excellent code editing tool that supports writing in multiple programming languages. Tools are very commonly used. If you want to use them smoothly, you have to remember the shortcut keys, write down the skills, and write code to greatly improve work efficiency and get twice the result with half the effort. [Recommended learning: "vscode introductory tutorial"]
Shortcut key: Ctrl /, the cursor is positioned on a single line Single-line comments, select multiple lines and press the shortcut key to create multi-line comments
Shortcut keys: Ctrl ] (or Tab key) and Ctrl [ , position the cursor on a single line to indent, select multiple lines and press the shortcut key to comment on multiple lines
Shortcut key: Alt Shift Up Press or down key to quickly copy the line where the cursor is positioned. Of course, you can also use Ctrl c and then Ctrl v
shortcut keys: Ctrl d, first double-click to select a word, and then press ctrl d to select the same words in sequence. In this way, it is very convenient to modify the same words at the same time
Shortcut key: Ctrl h, when a page needs to be modified When there is a large amount of the same text, you can use global replacement.
Shortcut key: Ctrl g. When the page is relatively long, it is convenient to scroll the page up and down. Ctrl g can quickly enter the number of lines. to the specified number of lines.
Shortcut key: Ctrl /-, there are too many codes and the eyes are tired, so you can zoom in to see.
Shortcut keys: Hold Alt Shift and drag the mouse to select a code Block, delete, or add or subtract codes according to the cursor position
Shortcut key: Home/ End locates the beginning and end of the line, and Ctrl Home/End locates the first or last line.
You can also write down other common shortcut keys if you forget them. Ctrl s to save, Ctrl c to copy, Ctrl v to paste, Ctrl x to cut, Ctrl a to select all, Ctrl f to find, Ctrl z to undo, etc.
For more knowledge about VSCode, please visit: vscode tutorial!
The above is the detailed content of [Hematemesis sorting] Sharing super practical shortcut keys for vscode to improve your work efficiency!. For more information, please follow other related articles on the PHP Chinese website!