I just figured out a shortcut to indenting... I know there was some way to do it by going to a menu and finding something like edit > code > re-indent or something... but I just found out today a really fast way to do it...
Press the following: cmd+a, cmd+x, cmd+v. In that order as fast as you wish, you can re-indent all of your code in under half a second, easily!
What is does it... Cmd+a ~ Select all, Cmd+x ~ Copy and delete selected (all), Cmd+v ~ re-paste copied (all) and auto format any pasted code.
Works great, just thought I'd share... noticed it today by accident when copy pasting some un-indented if-statements from another project.
Please share, if you have found any neat shortcuts too! (not hot-keys)