I have a PHP project with mix of HTML and JavaScript. PHP scripts are inserted inline. Can I use Eclipse to indent the project? I just want the code to be properly indented and nor formatted. By formatting, I mean that Eclipse should not replace spaces with $nbsp and other changes.
Suggestions about tools apart from eclipse are also welcomed.
I think for PHP you should use Zend Studio and it also based on Eclipse which i think you are already familiar with.
By default it does not replace spaces with   and also you can also include your own custom formatting structure
After Installation
Go to
Preferences -> PHP -> Code Style -> Formatter
Click on new
Enter a Name
you can create your own formatting structure
The same does for your JavaScript or other preferred supported Zend Studio Languages
🙂