home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.objective-c:674 comp.sys.next.programmer:7317
- Newsgroups: comp.lang.objective-c,comp.sys.next.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!scd.hp.com!hpscdm!hpuerca.atl.hp.com!sailer
- From: sailer@hpuerca.atl.hp.com (Lee Sailer)
- Subject: Re: Seeking Objective-c prettifier
- Message-ID: <Bxzns3.ExM@hpuerca.atl.hp.com>
- Date: Fri, 20 Nov 1992 00:24:02 GMT
- References: <PFKEB.92Nov11203142@kaon.SLAC.Stanford.EDU>
- Organization: Hewlett-Packard NARC Atlanta
- X-Newsreader: Tin 1.1.3 PL5
- Lines: 24
-
- :
- : >> "Anyone have or know of an Objective-C prettifier?"
- : >>
- : >> man indent. It's actually not too bad...
- : >>
- : >> -g
- :
- : > Well, it's better than cb, but not much, for one big reason:
- :
- : > BUGS
- : > Indent doesn't accept Objective-C style (//) comments.
-
- Another solution would be to write a filter that changes // comments
- to /* */ comments.
-
- However, on my NeXT, I've never gotton indent to behave properly. It
- always seems to garble some part of the pretty print, even when no //
- are involved.
-
- Thus, perhaps the final solution is to get the source to indent
- and fix it. 8-)
-
- lee
-
-