Why is the indentation almost always messed up when copying and pasting code in VScode?
For example:
Copying:
Pasting:
Another example:
And it's sometimes even more messed up.
Is there a way to fix it?
I'm new to VSCode, but do you have "editor.formatOnPaste": true
?