Hi,
for avoiding CVS diff complications i recommend to use the same source
code formatter for all source code files.
1. I use eclipse, eventually we can also use another tool as ant task,
but i would still prefer eclipse, e.g. for formatting also impoerts and
the good wraning and error styles when editing.
2. for all comments i recommend
// TODO: my question or todo tag
because eclipse shows nice blue targets in the editor for these tags.
and not:
// QUESTION
// ???
// XXX
Link: http://www.eclipse.org/
Eclipse-formatter preferences to use:
New Lines: (x) insert before opening brace
(x) insert in control statements
( ) clear blank lines
( ) insert new line between else-if
(x) insert inside empty block
Line Splitting: 80
Style: ( ) Compact assignment
(x) Insert space after cast
(x) Insert tabs, not spaces
space identation level: 4
So if you want to use your own formatter, please use analogue options.
Regards, Joerg
--
Dipl. Chem. Joerg K. Wegner
Center of Bioinformatics Tuebingen (ZBIT)
Department of Computer Architecture
Univ. Tuebingen, Sand 1, D-72076 Tuebingen, Germany
Phone: (+49/0) 7071 29 78970
Fax: (+49/0) 7071 29 5091
E-Mail: mailto:we...@in...
WWW: http://www-ra.informatik.uni-tuebingen.de
--
Never mistake motion for action.
E. Hemingway
|