----- Original Message ----- From: <[EMAIL PROTECTED]> > ----- Original Message ----- > From: "Gordon Stewart" > > is there a good utility / programme to use - That will automatically > indent PHP scripts (make them easier to read) > > ----------------------------- > As an afterthought - > > I use Crimson Editor for php. > > I use MetaPad for text as it has excelent search and replace that includes > \n\r\t charactors. I often import a list of variables or > constants into MetaPad and use the search and replace to turn it into a block > of php code or mysql query string. Then back to > Crimson Editor. > > I use ConTEXT editing HTML/Javascript as it is very good at highlighting > these expectialy Javascript. > > Any one have better sugestions? > > Robert.
I use "EditPlus" which you can integrate "Tidy" into it as a User Tool. It's not specific to php, but you can download syntax files for most languages. It will also search & replace using regexs for 100+ pages if ever you needed to. The free utility called "phpCodeBeautifier" is useful, which you can add to your right click. This is handy for re-formatting old code or if you're using some downloaded code. Regards, Bob E.