delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/29/16:28:39

From: "Campbell, Rolf [SKY:1U32:EXCH]" <moscoop AT americasm01 DOT nt DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Suggestions on C beautifier/prettyprinter ???
Date: Tue, 29 Feb 2000 15:06:54 -0500
Organization: Nortel Networks
Lines: 22
Message-ID: <38BC26DD.9E7EF828@americasm01.nt.com>
References: <slrn8bo7m6 DOT jj DOT drososa AT localhost DOT localdomain>
NNTP-Posting-Host: wmerh0tk.ca.nortel.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.72 [en] (X11; I; HP-UX B.10.20 9000/785)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Tasos Drosopoulos wrote:

> Has anyone any suggestions on a C beautifier/prettyprinter? I'm working on a
> project with a group of people who are using Visual C (I prefer djgpp) and
> VC has the annoying habit of putting tabs all over the place. The project is
> fairly large for correcting the problem by hand every time we exchange code
> and well, I'm sure you understand how it feels like :)
>
> I am already using "expand" to kill the tabs and recently spent some time
> unsuccessfully trying to get Erltools (claimed to be a C/C++ beautifier/
> prettyprinter) to compile under djgpp. I've seen mention of "cb" but don't
> know where to find it.
> Any suggestions will be greatly appreciated!!

    Try emacs or XEmacs.  They can nicely reformat C/C++ to any reasonable code
indentation style (with or without tabs).

--
(\/) Rolf Campbell (\/)



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019