Hacker News new | past | comments | ask | show | jobs | submit
Have you never tried to paste python code from the internet into an editor? At least half the time the indentation is screwed up and I have to go in and figure out manually where to put the spaces in. Indentation gets screwed up by pasting in other languages too, but with those I can generally tell the editor to reindent and it can because the information is included in the source code.
the solution is the same - you tell the editor to paste with an indentation adjustment
Get a better editor! Yes if your tools suck, things suck. So get better tools.