delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/29/21:23:37

Date: Wed, 1 Mar 2000 06:54:04 +0500 (MVT)
From: Prashant TR <prashant_tr AT yahoo DOT com>
X-Sender: prashant_tr AT midpec DOT com
To: Tasos Drosopoulos <drososa AT otenet DOT gr>
cc: djgpp AT delorie DOT com
Subject: Re: Suggestions on C beautifier/prettyprinter ???
In-Reply-To: <slrn8bo7m6.jj.drososa@localhost.localdomain>
Message-ID: <Pine.LNX.4.10.10003010645530.993-100000@midpec.com>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 29 Feb 2000, 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 :)

Like Hans-Bernhard said, GNU Indent does exactly this. In fact, you even
have a variety of options to format your C code in your favourite style (I
like K&R). If you don't like any of those, you can still use the plethora
of options available to get the formatting style you want.

ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/ind224b.zip

- Raw text -


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