Date: Wed, 1 Mar 2000 06:54:04 +0500 (MVT) From: Prashant TR X-Sender: prashant_tr AT midpec DOT com To: Tasos Drosopoulos cc: djgpp AT delorie DOT com Subject: Re: Suggestions on C beautifier/prettyprinter ??? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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