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 15:17:11 -0700

On Mon, 7 Apr 2003 23:59:24 +0200
Tobias <ibotty@web.de> wrote:
> chris kindly replied:
> > 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...
> this still does not solve
> a) that every [object message] is treated like an array
> b) @implementation MyClass
[...]
> but it is a start (and not that much reintending...)

Well, that was just an example and you may have to play with the options
available to you. The above does a decent job here, though I prefer to
"indent" "by hand".

About your problem in (b) -- put an empty line between @implementation
and +initialze, and you're fine.

-- 
Chris




reply via email to

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