Does Aptana support ES6?

无人久伴 提交于 2019-12-01 15:00:46

问题


Aptana Studio gives me syntax errors for uses of function* and yield in JavaScript code.

These are ES6 features. Is it possible to configure Aptana to accept them?


回答1:


No, Aptana does not support ES6 (nor JSX) and there are no plugins available to support it.

Aptana is compatible with all Eclipse plugins. The plugin "Enide Studio 2015" is tagged with ES6, which is disingenuous because as far as I can tell the only thing it enables a subset of the const keyword. Nothing else.

To install the plugin (which won't help you), visit the plugin page, then drag the "install" button into your Aptana editor.



来源:https://stackoverflow.com/questions/30901152/does-aptana-support-es6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!