Setting up the IDE

For eclipse, please use the following https://github.com/UnifiedViews/Core/tree/develop/code_template

Be aware, you need to use template and set properties in your IDE for import's ordering as well. You can find instructions at the location mentioned above.

 

For netbeans, please install plugin: http://plugins.netbeans.org/plugin/50877/eclipse-code-formatter-for-java

When the plugin is installed, please use the Eclipse configurations above to set up the environment

Every code submitted to UnifiedViews should be formatted based on the given configurations. 


Rules for adjusting XML files: 

 

Please use spaces instead of tab to indent elements in XML files. Every level of indentation should be equal to 4 spaces. 

Be careful, spaces in XML files are not enforced by the formatter introduced above. But every reasonable IDE can allow setting spaces for XML files. In eclipse it is this configuration dialog: