Re: [php-list] Indenting code
- 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.
Re: [php-list] Indenting code
- 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.
Re: [php-list] Indenting code
--- On Mon, 10/13/08, Bob [EMAIL PROTECTED] wrote: - 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. I like PSPad, freeware, does everything Crimson Editor does and a bit more http://www.pspad.com (No connection, just happy user) fw
Re: [php-list] Indenting code
- Original Message - From: Gordon Stewart is there a good utility / programme to use - That will automatically indent PHP scripts (make them easier to read) - Hi Gordon, I use Crimson Editor as it has excellent syntax highlighting. It also has auto indent but I turn that off because I indent differently. Robert.