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.
ECMA 6 Script brings Promises: https://developer.mozilla.org/cs/docs/Web/JavaScript/Reference/Global_Objects/Promise NetBeans should handle this in code completion at least. Offer then methods etc.