From kde-devel Mon Mar 20 22:29:21 2000 From: Geert Jansen Date: Mon, 20 Mar 2000 22:29:21 +0000 To: kde-devel Subject: Re: Indenting X-MARC-Message: https://marc.info/?l=kde-devel&m=95359593102655 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: Phylosopher, Physicist, email: KDE enthusiast PGP key ID: 0xD2B5E7CE