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.
Created attachment 159163 [details] Correct behavior See the code below: function Person(name, age) { this.name = name; this.age = age; } Person.prototype.getName = function () { //Anonymous function expression return this.name; // .name gets suggested } Person.prototype.getAge = function getAge() { //Named function expression return this.age; // .age does NOT get suggested (actually there is "no suggestions") }
Created attachment 159164 [details] Buggy behavior
Fixed in web-main.
Integrated into 'main-silver', will be available in build *201608120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6fb3a1edcddc User: Petr Pisl <ppisl@netbeans.org> Log: #258724 - netbeans doesn't autocomplete in named function expression