I wonder if anyone could please help me I have been using HTML tidy and eclipses built-in function to tidy up my code. I am having great trouble with the following situations...
when HTML is split between files via includes, having result structured with correct indentations helps with debugging via browser tools.
PHP and HTML when used together. for example PHP if statements around HTML code where you wont the correct indentation for both the PHP and HTML. (automating this http://stackoverflow.com/questions/1155799/how-to-properly-indent-php-html-mixed-code/1155811#1155811)
Situation one i can live with and there are ways around it. However, I would be grateful if anyone could offer a solution around situation two.
Tools I use eclipse 3.6, Aptanna 2.05 PDT 2.2