home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / software / 4364 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.2 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!rdg.dec.com!news.crl.dec.com!amber!
  2. From: fjs@bonz.athena.lkg.dec.com (F. J. Shields)
  3. Newsgroups: comp.software-eng
  4. Subject: Re: Code Formatter/Pretty Printing
  5. Message-ID: <589138@athena.lkg.dec.com>
  6. Date: 17 Nov 92 14:10:26 GMT
  7. References: <1992Nov16.214624.15883@mprgate.mpr.ca>
  8. Reply-To: fjs@athena.lkg.dec.com
  9. Organization: Digital Equipment Corporation
  10. Lines: 18
  11.  
  12.  
  13. In article <1992Nov16.214624.15883@mprgate.mpr.ca>, swong@mprgate.mpr.ca (Susan Wong) writes:
  14. >Does anyone know of any user configurable pretty printers? I'm looking for
  15. >something that can be configured to put in the "right" number of spaces
  16. >for each level of indentation, "{" on the "right" line, things of this
  17. >nature.
  18.  
  19. It sounds like you want to use the indent program. The best of these that
  20. I've seen is the GNU version: it has more options than any other version
  21. of indent of which I am aware.  You can pick up a copy from
  22.    gatekeeper.dec.com     - /pub/GNU/indent-1.6.tar.Z
  23.    prep.ai.mit.edu     - /pub/gnu/indent-1.6.tar.Z
  24. or from LOTS of other places.
  25.  
  26. --
  27. F. Jay Shields
  28. fjs@athena.lkg.dec.com
  29. Digital Equipment Corporation
  30.