Thread: Code Beautifier
View Single Post
  #3 (permalink)  
Old 2004-01-26, 01:55 AM
cirox cirox is offline
Junior Member
 
Join Date: May 2003
Posts: 2
cirox
Default

Well, the really expensive option: Dreamweaver MX 2004. Since we've had it up at the college, my code's actually gotten a lot more readable.. It has an auto formatting option that can beautify just about anything.. I've even loaded C files into it just to use it's beautiflication feature.. it really rivals that of anything I've ever seen..

things like this:
function pagehit($bleh)
{
echo "you hit me";
if ($something > 1) {
echo "meow";
}
}

become:
function pagehit($bleh)
(
echo "you hit me";
if ($something >1)
{
echo "meow";
}
}

and it's pretty customizable, whether the space be made by tabs, a number of spaces, etc etc etc.
Reply With Quote