Tell me. Am I the only person on the planet that uses PHP, JavaScript, and HTML in a single file with a .htm extension?
Because of security reasons I have apache parse .htm files instead of .php for PHP processing.
In each of my files I have code that looks somewhat like this.
<?php
// do some php stuff here
?>
<html>
<head>
<script type="text/javascript" language="JavaScript">
// do some javascript stuff here
</script>
</head>
<body>
// html, javascript, and more php code here
</body>
</html>
Both PDT and the Javascript IDE by eclipse simply cannot code format all of the code.
Either PHP get code formatted and HTML and javascript is ignored.
Or any combination of the 3.
Eclipse simply cannot code format a mixture of web code.
WHY?????????
This is very common to do what I am doing.
Adobe Dreamweaver can format all of the code. But I don't want to pay $500 for Dreamweaver.
Why can't eclipse format web code? It is so frustrating.