Aptana 是否支持 ES6? [英] Does Aptana support ES6?

查看:30
本文介绍了Aptana 是否支持 ES6?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Aptana Studio 为我在 JavaScript 代码中使用 function*yield 提供了语法错误.

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

这些是 ES6 特性.是否可以将 Aptana 配置为接受它们?

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

推荐答案

不,Aptana 不支持 ES6(也不支持 JSX)并且没有可用的插件来支持它.

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

Aptana 与所有 Eclipse 插件兼容.插件Enide Studio 2015" 用 ES6 标记,这是不诚实的,因为据我所知,它启用了 const 关键字的子集.没有别的.

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.

要安装插件(这对您没有帮助),请访问插件页面,然后将安装"按钮拖到您的 Aptana 编辑器中.

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

这篇关于Aptana 是否支持 ES6?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆