I noticed some sloppily formatted code being posted on the forums lately. I thought I would post this to give one option that I have found very helpful myself.
The AStyle Extension, found in Atmel Studio 6.1 Extension Manager, is a plugin that formats code in place similar to the way the program Indent does.
AStyle is newer than Indent and is supported in many of the current code editors and IDEs. I use it extensively in Notepad++ and it was nice to see that it was available in Studio.
You will find the AStyle settings under Tools-Options-Astyle formatter.
Many of you will probably like AStyle too as it has just as many, or possibly more, options than Indent does.
Enjoy!