From: Rainer M. <ra...@tb...> - 2006-04-12 12:03:29
|
Hi All, please note that we now have conventions both for code formatting and for doxygen compatible documentation! Our new Wiki page for development (email me, if you want an account to contribute) at http://www.tbi.univie.ac.at/wiki/index.php/SOSlibDevel provides two template files at http://www.tbi.univie.ac.at/wiki/index.php/SOSlibDevel#Code_Style_and_Doxygen_Doc_Conventions Please take a look and try to set your editors for the correct C formatting. If you use emacs, you e.g. can add to your .emacs file ;; custom C modes (require 'cc-mode) ;; formatting preferences (c-set-offset 'substatement-open 0) to overrule the (at least my) default settings - 2 spaces offset for the opening of a substatement - to 0 spaces. http://www.bloomington.in.us/~brutt/emacs-c-dev.html gives other nice tricks for C programming in emacs, e.g. how to compile and debug within emacs. Rainer |