Most editors can automatically fix these things for you. I believe that is where Elysia is going with the last question. IDEs do help fix these things, no question about it, but there is no substitute for coherent indentation techniques being used to begin with.