Javascript es6 syntax support on Netbeans 8.1

4.3k Views Asked by At

Does anyone know if Netbeans 8.1 has support to es6 javascript syntax and how could I enable it?

2

There are 2 best solutions below

1
ladar On

No, it is in 8.2, NetBeans 8.2 Release Candidate is available at https://netbeans.org/downloads/8.2/rc/

2
Jay M On

go to tools -> options -> Miscellaneous choose the 'files' tab

If you're missing the 'es6' file extension, then add it manually using the new button. Then in the 'Associated File Type (MIME)' choose the same thing you have for js.

That worked for me.