I've *.js.php-Files and would like to
- highlight the syntax as JavaScript
supress warnings caused by lines like
<?php if ($cond == true):?>alert("true!");<?php endif;?>
Does anybody know, how to tell Eclipse, it should handle *.js.php files not as *.php but as *.js?
Please don't talk about the pros and cons of mixing PHP and JS. It's just about the Eclipse issue.
Thanks in advance!