Does anyone know if Netbeans 8.1 has support to es6 javascript syntax and how could I enable it?
2 Answers
No, it is in 8.2, NetBeans 8.2 Release Candidate is available at https://netbeans.org/downloads/8.2/rc/
1 Comment
AbdelHady
I downloaded it, but es6 is not recognized in it, not in highlighting nor in code formatting !!
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.