Cargo Code Style
The following sections show how to set up the code style for Cargo in IDEA and Eclipse. It is strongly preferred that patches use this style before they are applied.
After this, select Window > Preferences, and open up the configuration for Java > Code Style > Code Formatter. Click on the button labeled Import... and select the file you downloaded. Give the style a name, and click OK.
IntelliJ IDEA 4.5+
Please, refer to http://jira.codehaus.org/browse/CARGO-367