Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Why is it that the developers of eclipse cannot get code formatting right for the web?
Why is it that the developers of eclipse cannot get code formatting right for the web? [message #672111] Thu, 19 May 2011 22:48
Bryan Mising name is currently offline Bryan Mising nameFriend
Messages: 10
Registered: October 2009
Junior Member
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.
Previous Topic:Remote Debugging
Next Topic:Eclipse not using breakpoints.
Goto Forum:
  


Current Time: Fri Dec 19 22:52:34 GMT 2014

Powered by FUDForum. Page generated in 0.01466 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software