Settings to copy paste with correct indentation in Visual Studio Code

前端 未结 4 1361
逝去的感伤
逝去的感伤 2021-01-30 01:02

When I copy and paste a piece of code using Visual Studio Code, after pressing enter to create a new line, the following happens:

It seems to k

4条回答
  •  执念已碎
    2021-01-30 01:59

    A simple fix is to try Ctrl + Shift + V after copying the code. It will paste all codes correctly with indentations in it.

提交回复
热议问题