admin管理员组文章数量:1026961
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:
This is because the JavaScript Validator is set to ECMAScript 3.
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 munity? Other FOSS projects with modern ECMAScript support:
- NetBeans supports ES5.1, ES6 in 8.1
- Atom.io supports ES6
(I haven't used these so I don't know how they pare 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?
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:
This is because the JavaScript Validator is set to ECMAScript 3.
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 munity? Other FOSS projects with modern ECMAScript support:
- NetBeans supports ES5.1, ES6 in 8.1
- Atom.io supports ES6
(I haven't used these so I don't know how they pare 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?
Share Improve this question edited Apr 8, 2016 at 1:15 Redsandro asked Apr 8, 2016 at 0:34 RedsandroRedsandro 11.4k15 gold badges80 silver badges111 bronze badges 5- 2 Possible duplicate of Is there a way in Eclipse to change the ECMAScript pliance level? – Krease Commented Apr 8, 2016 at 0:48
- 1 (Spoiler alert from the duplicate: surprisingly the specified eclipse plugin does not support this, but there are other options) – Krease Commented Apr 8, 2016 at 0:50
- 1 @Chris I invite you to mention these other options. – Redsandro Commented Apr 8, 2016 at 1:15
- Refer to the duplicate - it mentioned other plugins – Krease Commented Apr 8, 2016 at 1:27
- @Chris The one answer and its ments is all about the same plugin called 'tern'. If this can at the same time be not supporting ES6 and other options, it requires some clarification. – Redsandro Commented Apr 8, 2016 at 1:53
1 Answer
Reset to default 4Eclipse 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 pletion, validation where you can use for eslint, jshint which support ES6. See Tern Linter section for that.
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:
This is because the JavaScript Validator is set to ECMAScript 3.
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 munity? Other FOSS projects with modern ECMAScript support:
- NetBeans supports ES5.1, ES6 in 8.1
- Atom.io supports ES6
(I haven't used these so I don't know how they pare 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?
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:
This is because the JavaScript Validator is set to ECMAScript 3.
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 munity? Other FOSS projects with modern ECMAScript support:
- NetBeans supports ES5.1, ES6 in 8.1
- Atom.io supports ES6
(I haven't used these so I don't know how they pare 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?
Share Improve this question edited Apr 8, 2016 at 1:15 Redsandro asked Apr 8, 2016 at 0:34 RedsandroRedsandro 11.4k15 gold badges80 silver badges111 bronze badges 5- 2 Possible duplicate of Is there a way in Eclipse to change the ECMAScript pliance level? – Krease Commented Apr 8, 2016 at 0:48
- 1 (Spoiler alert from the duplicate: surprisingly the specified eclipse plugin does not support this, but there are other options) – Krease Commented Apr 8, 2016 at 0:50
- 1 @Chris I invite you to mention these other options. – Redsandro Commented Apr 8, 2016 at 1:15
- Refer to the duplicate - it mentioned other plugins – Krease Commented Apr 8, 2016 at 1:27
- @Chris The one answer and its ments is all about the same plugin called 'tern'. If this can at the same time be not supporting ES6 and other options, it requires some clarification. – Redsandro Commented Apr 8, 2016 at 1:53
1 Answer
Reset to default 4Eclipse 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 pletion, validation where you can use for eslint, jshint which support ES6. See Tern Linter section for that.
本文标签: javascriptEclipse IDE alternative with ECMAScript 6 validationStack Overflow
版权声明:本文标题:javascript - Eclipse IDE alternative with ECMAScript 6 validation - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745653880a2161480.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论