How to install a JavaScript editor for Eclipse?

Refer this answer -> Javascript file editing stopped working with Eclipse 2020-06

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):

Uninstall Eclipse Wild Web Developer: In Help > About Eclipse IDE: Installation Details, in the Installed Software tab select Eclipse Wild Web Developer and click Uninstall... Install JavaScript Development Tools from the 2020-03 release: In Help > Install New Software... work with https://download.eclipse.org/releases/2020-03 and choose JavaScript Development Tools to install


Another alternative to JSDT is to install the Wild Web Developer plugin from https://marketplace.eclipse.org/content/bluesky-web-development-eclipse-ide-experimental . It's using the latest Language Server for HTML, CSS, JSON, JavaScript and TypeScript. It's open-source and is becoming an official Eclipse.org project.


You can install all or part of Eclipse WTP in to your current Eclipse.

To install just JSDT open 'Help > Install New Software...'.

In "Work with" choose your main Eclipse site (http://download.eclipse.org/releases/luna for Eclipse Luna).

Expand the 'Web, XML, Java EE and OSGi Enterprise Development' section and select 'JavaScript Development Tools'

Click Next> to proceed with the install.