Adams-Blake Company wrote:[color=blue]
> I have several 500 to 1500 line PHP programs that need to be re-formatted so
> that they look "pretty"..... proper indents, etc.
>
> Anyone know of something that will do this under Linux? Maybe a VIM or Emacs
> script/plugin that will read the source and re-format it for me (I use nedit
> and I don't think it will do such a thing.... and if so I don't know how.)
>
> I know there is a $50 one out there but this is a one-time deal on a few
> modules and not something that will be used again.... and it only runs on
> Windows.... but I have Win4Lin so I could make it work if I wanted to spend
> that much $$... which I don't!
>
> Thanks,
>
> Al
>[/color]
JEdit (
http://www.jedit.org) has a nifty plugin named AStyle Beautifier.
It works well on PHP source code.
--
Amir Khawaja.
----------------------------------
Rules are written for those who lack the ability to truly reason, But
for those who can, the rules become nothing more than guidelines, And
live their lives governed not by rules but by reason.
- James McGuigan