Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 08:41:24 -0500
From:      Derek Ragona <derek@computinginnovations.com>
To:        Kyrre =?iso-8859-1?Q?Nyg=E5rd?= <kyrreny@broadpark.no>, questions@freebsd.org
Subject:   Re: Code beautifiers, anyone?
Message-ID:  <6.0.0.22.2.20060824084023.025c0250@mail.computinginnovations.com>
In-Reply-To: <7.0.1.0.2.20060824145822.0194fc10@broadpark.no>
References:  <7.0.1.0.2.20060824145822.0194fc10@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
For C code I use indent
http://mysite.wanadoo-members.co.uk/indent/beautify.html

         -Derek


At 07:58 AM 8/24/2006, Kyrre Nyg=E5rd wrote:
>Hello people,
>
>I'm looking for the best ways to create a line of code beautification=20
>(reformatting) scripts -- one for C, one for Ruby, one for Bash and one=20
>for web development languages like XHTML, XML, CSS, PHP and Ajax. Whether=
=20
>as frontline warriors or household maids, they would ensure proper=20
>indentation, linebreaks, spaces, tabs and so forth.
>
>Can anybody help me?
>
>My studies of architectural science has taught me to pay extreme care to=
=20
>the correction of details, and I now wish to apply these teachings to all=
=20
>my code. I find myself always reformatting whatever my associates give me.=
=20
>Not that they're bad programmers, they just care more about the code=20
>itself rather than its structure, and I dare not argue with that. When=20
>their code is messy, however, my heart feels messy and I can't get any sle=
ep.
>
>I wish to be in full control of my code beautifiers. That is, I wish to=20
>have them as simple and meaningful as possible. Give me an easy Bash over=
=20
>a complex Ruby any day.
>
>There's a lot of messed up tools out there. Companies with flashy websites=
=20
>just doing this for the money. So apart from the bullshit, I've managed to=
=20
>spot out the Ruby Beautifier and GNU Indent as two worthy code=20
>beautifiers. However I get the feeling they are more complex than they=20
>ought to be, and if less is more, my search will have to continue.
>
>All the best,
>Kyrre
>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or=
g"
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>MailScanner thanks transtec Computers for their support.
>

--=20
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20060824084023.025c0250>