DEV Community

Tim-Wu-330
Tim-Wu-330

Posted on

Some shortcuts in vscode

Batch Query and Replacement

select text, press F2, make changes and press enter
image.png

Move a whole line of code upward or downward

alt + up/down key
image.png

Adding curly braces to variable names

Select a variable with the left mouse button and press the curly bracket left button
image.png

Top comments (0)