It has been said before, that the SO editor is great, but has some drawbacks when pasting code which contains tab characters, see e.g. Improvements to editor for formatting source code
That's alright for the time being, but how do you work around it? Are there any quick tools that allow to replace all tab characters in the clipboard with spaces? Or maybe some web based tools where you paste the code in a textbox, and get a re-formatted result?
I see people editing large posts that contain messy code formatting into something beautiful - I can't believe you're doing this all manually?