In the Misc. Utilities page you'll find two other tools that might also qualify as "formatting" tools:

Sort code

Show line numbers in the coding module.

Comment / Uncomment Multiple Lines of Code

What does it do?

The comment / uncomment feature allows you to quickly comment or uncomment multiple lines of code at once. The feature is smart enough to identify when some lines of code are commented and others are not, so if you have a block of partially commented code, you can quickly standardize the commenting.