简体   繁体   中英

Javascript es6 syntax support on Netbeans 8.1

有谁知道 Netbeans 8.1 是否支持 es6 javascript 语法,我该如何启用它?

不,它在 8.2 中,NetBeans 8.2 Release Candidate 可从https://netbeans.org/downloads/8.2/rc/ 获得

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.

Try to install Darcula LAF for NetBeans plugin on Netbean 8.2, it could help you.

Tool > Plugins -> Search "Darcula LAF for NetBeans" > Install it

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM