This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
As I figured out such feature in WebStorm this is really missing in NetBeans for old ES3 or ES5 code. You can see it here: https://www.jetbrains.com/webstorm/whatsnew/#v2016-3-migrating-to-es6 scroll a bit to convert to class. This is very handy if you would like to migrate to ES6 in NetBeans. Regards Chris