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
A simple fix is to try Ctrl + Shift + V after copying the code. It will paste all codes correctly with indentations in it.