VSCode: Is there a way to handle paste with different indents

Viewed 35

For example, the src code has two indents, and i copy it without the indent of first line: enter image description here

Then i paste it in other place with one indent, it will result in the second line still have two indents: enter image description here

Is there a way to handle such situation ? What i can think now is automatically remove the indents of resting lines to align with the first line.

0 Answers
Related