Mercurial > trustbridge
comparison HACKING @ 906:1dc1f5a4b577
Clarify astyle command. We do not space the parenthises
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 13 Aug 2014 15:51:48 +0200 |
parents | 8cfcd38a9bb3 |
children |
comparison
equal
deleted
inserted
replaced
905:698b6a9bd75e | 906:1dc1f5a4b577 |
---|---|
1 Please keep C code according to GNU coding standards. | 1 Please keep C code according to GNU coding standards. |
2 | 2 |
3 With regards to the style: | 3 With regards to the style: |
4 astyle --style=gnu --indent=spaces=2 --pad-paren-out | 4 astyle --style=gnu --indent=spaces=2 |
5 | 5 |
6 For the C++ Ui code please use the kdelibs coding style | 6 For the C++ Ui code please use the kdelibs coding style |
7 astyle --indent=spaces=4 --brackets=linux \ | 7 astyle --indent=spaces=4 --brackets=linux \ |
8 --indent-labels --pad-oper --unpad-paren --pad-header \ | 8 --indent-labels --pad-oper --unpad-paren --pad-header \ |
9 --keep-one-line-statements --convert-tabs \ | 9 --keep-one-line-statements --convert-tabs \ |