Does Aptana support ES6?

2019-06-16 15:55发布

问题:

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.