Coding conventions
John Ralls
jralls at ceridwen.us
Fri Apr 22 17:11:13 EDT 2011
On Apr 22, 2011, at 1:37 PM, Brad Grupczynski wrote:
> I can't find coding conventions. I see a mix of styles in the code. I'd like to standardize the modules I work on. e.g. 4 spaces instead of tabs, etc.
>
> Can someone point me to them if they exist?
They don't, at least formally. If you haven't found http://wiki.gnucash.org/wiki/Development, you should read it. There's a link to http://lists.gnucash.org/pipermail/gnucash-devel/2009-August/026121.html, where Christian posted proposed standards. He periodically runs a program called astyle (with the arguments --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none) on the whole tree to enforce it.
Oh, and pertinent to your last, I see that there's an Eclipse page: http://wiki.gnucash.org/wiki/Eclipse
Regards,
John Ralls
More information about the gnucash-devel
mailing list