[Bug] Pasting code in terminal messes indentations

This is an error report.


Screenshot of the error


Error details

Whenever I copy/paste the code from Jupyter into a newly created file, the code structure is messed up. Indentations are messed up, as are new line distinctions. This renders the file inexecutable. I have to manually fix the structure line by line, which is tedious as the terminal has some response issues.

It seems that at least in Firefox Linux version, this issue doesn’t happen. I see that you use Windows with a new version of Crome. Let me pass this issue to the backend team.
he
Does this issue also happen when using the IDE instead of pasting directly inside the terminal?

Please do not paste the code into the terminal. We don’t expect you to do that.

Locate the file in the IDE and paste the code into it.