[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Indenting
From: Geert Jansen <g.t.jansen () stud ! tue ! nl>
Date: 2000-03-20 22:29:21
[Download RAW message or body]
Wilco Greven wrote:
> Hi,
>
> What is the standard way of indenting. I just had a look at some of the
> kicker sources. There indenting by spaces and indenting by tabs was
> used in the same source file, which made the code harder to read. I
> always use spaces myself.
Use whatever indenting level you want, use whatever combination of TABs and
spaces you want, but please make sure TABs are 8 spaces. This way,
everybody can read your sources while you can still indent it any way you
want.
In vim there's the sts (soft tab stop) setting which is very usefull.
I allways put "vi: ts=8 sts=4 sw=4" on the first line of my sources, forcing
at least vi users to format it according to my preferences :-)
Greetings,
--
Geert Jansen email: <g.t.jansen at stud.tue.nl>
Phylosopher, Physicist, email: <jansen at kde.org>
KDE enthusiast PGP key ID: 0xD2B5E7CE
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic