As a C# developer, I have become highly dependent on the automatic formatting in Visual Studio 2008. Specifically, I will use the CTRL + K , D
Cmd A + Ctrl I
Or Cmd A And then Right Click. Goto Structure -> Re-Indent