Coding Style IDE Integration
Setting up your IDE for Amdatu development
To make it easier to follow the Java Coding Style Guide, your IDE can help you a little.
A word of warning, though: although we have an automated formatter, this never trumps common sense. Don't blindly reformat a file before checking in, but rather apply it to the section of file your currently working on. Use it as a servant, not a master.
We currently provide IDE Integration support for Eclipse as it provides adequate OSGi development support when using bndtools.
IDE support for Eclipse
Formatting
When working on Amdatu projects in Eclipse, the following formatter can be used: amdatu-code-formatting.xml. You can import this file, and apply it to the code you write to make sure you stick close to the guidelines.
m_
prefix
As a convention fields are prefixed using 'm_' throughout Amdatu. This can be done automatically when using autocomplete by setting 'm_
' as a prefix for Fields in 'Settings -> Java -> Code Syle'.