Re: 4 spaces versus tabs

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Guillaume Lelarge <guillaume(at)lelarge(dot)info>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: 4 spaces versus tabs
Date: 2010-10-24 15:05:17
Message-ID: AANLkTin1y0A+=Lfzse91iW8cq9N_AODz_JJiCRf69Q9G@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Sun, Oct 24, 2010 at 07:49, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> On Sun, Oct 24, 2010 at 2:22 PM, Guillaume Lelarge
> <guillaume(at)lelarge(dot)info> wrote:
>> IIRC, we should use spaces and not tabs. If I look into the code, I see
>> many tabs in it. I can of course configure my editor to display them as
>> four tabs, but I would really like to get rid of them.
>>
>> Any objections? because it would be a hell of a patch (90427 replacements)
>
> Go for it. The project standard is for spaces.
>
> Though, if we're going to make such a big change, I have to wonder if
> tabs would be a more convenient choice in hindsight...

Also if going there - has anybody investigated if it's possible to get
pgindent to work on C++ files? Or if there's another similar tool we
could/should use?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2010-10-24 15:08:46 Re: pgAdmin III commit: Updated supported versions for 1.14. Now that we ha
Previous Message Dave Page 2010-10-24 14:49:49 Re: 4 spaces versus tabs