Code beautifiers, anyone?
David Kelly
dkelly at hiwaay.net
Thu Aug 24 15:06:15 UTC 2006
On Thu, Aug 24, 2006 at 02:58:38PM +0200, Kyrre Nyg?rd wrote:
> Hello people,
>
> I'm looking for the best ways to create a line of code beautification
> (reformatting) scripts -- one for C, one for Ruby, one for Bash and
> one for web development languages like XHTML, XML, CSS, PHP and Ajax.
> Whether as frontline warriors or household maids, they would ensure
> proper indentation, linebreaks, spaces, tabs and so forth.
>
> Can anybody help me?
For C I use /usr/ports/devel/gindent/ with the following ~/.indent.pro
// My favorite GNU Indent style.
// dmk 9/2/2005
-br
-cdw
-ce
-ncs
-npcs
-prs
-nsaf
-nsai
-nsaw
-ss
-i4
-ts4
-nut
--
David Kelly N4HHE, dkelly at HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.
More information about the freebsd-questions
mailing list