Configurable Apex source code formatter

Illuminated Cloud includes a highly-configurable source code formatter for Apex, SOQL, and SOSL with over 100 options including support for Apex-specific syntax such as properties and embedded queries.  Source code is automatically formatted as it's entered and can be reformatted in bulk.

Visualforce too!

Because Visualforce development occurs within IDEA's robust HTML editor, Visualforce pages and components are automatically formatted using IDEA's configurable HTML formatting engine.