discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: indent + objective c


From: Chris B. Vetter
Subject: Re: indent + objective c
Date: Mon, 7 Apr 2003 14:39:48 -0700

On Mon, 7 Apr 2003 23:04:42 +0200
Tobias <ibotty@web.de> wrote:
> having seen too many indentation preferences (in my own files, due to
> some ****** windows editors) i would really appreciate a program like
> indent, that works with objective c.

Create your own ~/.indent.pro and specify how you want to indent your
ObjC files.

Take a look at the man page for indent(1) for the options, but the file
could look sth like

  -bad -bap -c33 -ci1 -d1 -di20 -i4 -l78 -nbc -nfc1 -psl \
  -Tid -TBOOL -TSEL -TNS...

Note, that GNU indent (as probably used in Linux) most likely is
different to the one on BSD systems, so YMMV ...

-- 
Chris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]