= Coding Style = This page documents possible coding conventions for MapServer. == Artistic Style (astyle) == [http://astyle.sourceforge.net/ Artistic Style (astyle)] is source code formatting tool, and allows for flexible definitions (spaces, padding, indents, one liners, etc.) to automatically format source code for a given coding convention. Here is a sample invocation: {{{ $ astyle --style=kr --unpad=paren --indent=spaces=2 mslibxml2.c }}} == Coding Conventions == * style (k&r, gnu, linux) * tabs an brackets (tabs, spaces) * indentation * formatting (parens)