I have been working on the exact same file directory with eclipse for many years. It just worked. I am using PHP, CSS, JS, HTML files.
Occasionally, I ran an automatic upgrade as described here. This also just worked.
Now after the latest upgrade, several things just stopped working:
Now my most pressing question is:
Where do I re-enable the good old Javascript editor?
Here's my Installation details:
It's possible that you are developing in a different perspective that does not have this association preset. It should be noted, if it was already opened in normal eclipse editor, you need to close and reopen file for that to take effect. (The JS editor as default should be set automatically.)
With this set of good old features added to a more powerful and nicer edition and debug of Web files, the Eclipse IDE now shine again as a great ready-to-use IDE for Web and JavaScript development. It can now be considered for many use-cases by Web or Node. js developer as a viable or better alternative to other IDEs.
The Eclipse IDE for PHP Developers is made up of components from various Eclipse projects. In the Eclipse IDE 2020-06 release the JavaScript support for .js
file is no longer provided by the JavaScript editor from JSDT, but by Eclipse Wild Web Developer.
Wild Web Developer does not provide a separate Editor for JavaScript, but extends the Generic Text Editor by code completion, syntax highlighting, validation, navigation, etc. for JavaScript.
To get back the JSDT JavaScript editor you have to uninstall Eclipse Wild Web Developer and install JavaScript Development Tools from the Eclipse IDE 2020-03 release (I guess the problems if you had both were solved by simply removing or disabling the JavaScript editor in the 2020-06 release):
https://download.eclipse.org/releases/2020-03
and choose JavaScript Development Tools to installSee also Eclipse IDE 2020-06 > New & Noteworthy > Eclipse PHP Development Tools
Had the same issue, using 2020-09. I found that Wild Web Developer (in Help > Eclipse Marketplace..) was indeed installed, but then I checked more info and it said
To see it in action, open the desired file with the Generic Editor that's included by default in the Eclipse IDE.
and when I opened the javascript file in the Generic Editor, I get all the fancy I need...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With