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.
Create support of generators. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator
Created attachment 159058 [details] Generators in navigator The generators are recognized as a special functions, which have '*' as a badge of the icons in navigator and code completions items. The navigator functions return Generator object from runtime.
Created attachment 159059 [details] Generator as a property of an object literal Generator can be also methods of an object literal
Created attachment 159060 [details] Generators as private and privileged methods
Created attachment 159061 [details] Generator as a class method
Created attachment 159063 [details] Generator code completion The code completion offers next(), return() and throw() methods with documentation for a generator.
Created attachment 159064 [details] Generator code completion The code completion offers next(), return() and throw() methods with documentation for a generator.
Created attachment 159065 [details] Generator code completion The code completion offers next(), return() and throw() methods with documentation for a generator.
Created attachment 159066 [details] Generator code completion - done Generator returns from next() methods object literals that has two properties: done and value. NB are able to offer code completion with documentation for them.
Created attachment 159067 [details] Generator code completion - value Generator returns from next() methods object literals that has two properties: done and value. NB are able to offer code completion with documentation for them.
The support is implemented currently on ecma6-truffle branch.
*** Bug 255076 has been marked as a duplicate of this bug. ***