HOWTO: Meet Coding Standards for Changing Code in Gravisto
This document explains the necessary coding standards, i.e., how the
source code should be formated to adapt the commonly used and uniform
code style of the Gravisto project. Most of the Gravisto development
is done with the Eclipse IDE.
Although not required, it is highly recommended. This tutorial assumes
that you have the following:
A working installation of Eclipse. Version 3.2 is
Open for each Gravisto module containing Java Code.
- Ensure is enabled.
- Ensure Unmanaged profile 'Gravisto' is selected.
The code width should not exceed 80 characters per line. Therefore it
is helpful to activate and
80 in .
Formating the Code
You can format parts of the code with functionality of Eclipse's
editor by marking the corresponding section and pressing
+ SHIFT + F.