Am Mittwoch, den 13.07.2005, 10:10 +0200 schrieb Libor Vanek:
> Hi,
>
> >>Maybe I'm saying something what you already know, but do you know, you
> >>can use "indent" to do this automatically?
> >>
> >>I prefer using:
> >>
> >>indent -kr -i8 -l100 file.c
> >>
> >>
> >is -l100 ok? :) i guess they only like -l80 or -l75
> >
> >
> I use it because nowadays 99.9% of developers doesn't work in "plaintext
> mode" and 80 characters/line is quite few (in my private projects I use
> even -l200) and it "decrease" readability in some longer "if" commands
> or strings.
80 chars/line is the (hard!) limit in the kernel sources
($KSRC/Documentation/CodingStyle, Chapter 2), so this is also the limit
that should be used in IET, I guess.
Arne
--
Arne Redlich
Xiranet Communications GmbH
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
|