HTML Beautify |
Site Admin
|
HTML TIDY knows nothing about php and beautifies and corrects HTML alone. If you need a 3rd party php beautifier to be integrated into PHPED, it's very easy to do. See customization TAB in the settings dialog. You may add a command that will call 3rd party program or script with the editor content and bring it back after processed.
|
||||||||||||
|
|
Yes exacly i know that, i've already set PHP Beautify and it's working fine (per file) ... My point is if there's any way or program to beatify this for example:
to
Ident HTML, to correct as Tidy HTML... I know this is not your responsability but if you could help me with this, probably you could indicate some 3th party program! |
||||||||||||||||
Last edited by seg7 on Wed Mar 03, 2004 11:25 am; edited 2 times in total |
Site Admin
|
Html formatters like HTML Tidy has nothing to do with PHP Code...
Php formatters often take no care of string constants like your code sample contains. You may want to re-write you code like this:
in this case HtmlTidy will take care of indenting as it is clear HTML (with some php insertions). Maybe you better switch to Smarty ? see http://smarty.php.net It offers very good level of separating a presentation (html) layer from data manipulation (php) layer. |
||||||||||||||
|
HTML Beautify |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by