Main > Reference Manual > Information for developers > Style guide
To enforce the same formatting of the source code the astyle tool is used.
See http://astyle.sourceforge.net/ for more information.
The following formatting options are used:
--style=ansi --indent=spaces=2 --indent-classes --indent-switches --min-conditional-indent=2 --one-line=keep-statements --one-line=keep-blocks --max-instatement-indent=2 --convert-tabs
Astyle does a pretty decent job, but reviewing the astyle changes before committing them is still required: astyle sometimes misses the point...