Commonly used shortcut keys for VScode,

Commonly used shortcut keys for VScode:

English! Press enter: the html suffix name will be displayed quickly. Fill in by yourself

shift+alt (the mouse is placed in the copy line code area, or the mouse selection area) press the control down key: it will quickly copy and paste

alt + z code wraps automatically

shift + alt + f code automatic alignment (ie: right mouse button, select format code, quick code typesetting alignment)

Ctrl + / code comment line, all available

shift + alt + a multiline comment in js /**/     

Ctrl + d: Click and hold to select the same code and modify it together

Alt + up and down keys, the code can move up and down

Ctrl + enter The cursor is gathered, and the code can be written directly by wrapping

Press and hold the mouse wheel to pull down, write code, delete, and process multiple layers of the same row at a time

Press and hold the alt key and select a different area with the mouse to write code

Click to add a name, #add a name, quickly create div+class,div+id     

alt + b to quickly open the default browser

Write code quickly: the li under ul is multiplied by 8, and the a label under it. {$} autofill numbers 1,2,3···

Quick output console.log( ):

In VScode, File → Preferences → User Code Snippets → Search for JavaScript in the search box and select JavaScript.json

ctrl + ` ; Quickly display and hide the terminal

Guess you like

Origin blog.csdn.net/qq_60839348/article/details/127846030