Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


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.

Eclipse 3.x

Download cargo-eclipse-codestyle.xml.

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.