Redsandro
Redsandro

Reputation: 11366

Eclipse IDE alternative with ECMAScript 6 validation

I'm running Eclipse Mars 4.5 with JSDT and it's getting increasingly difficult to use this for JavaScript/Node.JS development, since it doen't recognize modern patterns:

enter image description here

This is because the JavaScript Validator is set to ECMAScript 3.

enter image description here

To my surprise for such an up-to-date release of Eclipse, this dropdown is greyed out and I cannot select 5 or 5.1, let alone 6. ES3 is from 1999 (!).

Am I correct to assume that Eclipse has no considerable JavaScript community? Other FOSS projects with modern ECMAScript support:

(I haven't used these so I don't know how they compare to Eclipse)

Is Eclipse discouraged for JavaScript development? Or is there actually a well-documented non-hacky go-to plugin for Eclipse to play nice with ES6?

Upvotes: 4

Views: 6069

Answers (1)

Angelo
Angelo

Reputation: 2125

Eclipse Neon will improve a lot support for JavaScript with JST 2.0.0 like :

  • support for ES6
  • Grunt, Gulp, npm support

You can try too tern.java if you wish advanced completion, validation where you can use for eslint, jshint which support ES6. See Tern Linter section for that.

Upvotes: 4

Related Questions