Netbeans 8.1 中的粗箭头函数?

Fat Arrow Functions in Netbeans 8.1?

我认为它没有识别粗箭头功能。它这样抱怨:

只有当我将代码从 (err, stats) => { 修改为 function(err, stats){ 时,错误才会消失。

有没有办法解决这个问题,或者我唯一的选择是抑制此类错误?

不知道人们还在使用 Netbeans,但 Netbeans doesn't support ES6 syntax 还没有,但根据评论之一,它可能接近:

Guys, I have to apologise. The parser based on Antlr doesn't suffer from performance problems like a month ago, but the memory consumption is still high. We run in problems in ANTLR 4 runtime itself and we are working with antlr authors to solving these issues. I can not guess what time it will take.

In parallel I have taken a close source parser and currently I'm trying to work with this one. Unfortunately it's close source and we have to go through licensing process, where I don't have any doubts how it long it can take. When I get the permission to put the parser to our hg, then there will be available build and hopefully with a few implemented ECMA 6 features.

Netbeans 8.2 现在支持 ECMA6 语法 https://netbeans.org/community/releases/82/relnotes.html#new