Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Cargo
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<h1>Cargo Code Style</h1> <p>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.</p> <h2>Eclipse 3.x</h2> <p>Download <a href="http://svn.codehaus.org/cargo/core/trunk/documentation/src/site/confluence/codestyles/cargo-eclipse-codestyle.xml">cargo-eclipse-codestyle.xml</a>.</p> <p>After this, select <code>Window > Preferences</code>, and open up the configuration for <code>Java > Code Style > Code Formatter</code>. Click on the button labeled <code>Import...</code> and select the file you downloaded. Give the style a name, and click OK.</p> <h2>IntelliJ IDEA 4.5+</h2> <p>Download <a href="http://svn.codehaus.org/cargo/core/trunk/documentation/src/site/confluence/codestyles/cargo-idea-codestyle.xml">cargo-idea-codestyle.xml</a>.</p> <p>Close IntelliJ IDEA. Place the file in your IntelliJ IDEA user configuration directory. For example for Windows Vista users of Intellij IDEA v6.x, it's in <code>C:\Users[username]\.IntelliJIdea60\config\codestyles</code>. Then open IntelliJ IDEA again, select <code>File > Project Settings > Project Code Style</code>, select <code>Use per-project code style scheme</code>, click on <code>Import...</code> and select <code>cargo</code>.</p>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced