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 128698 [details] cc dropdown screenshot Not sure what you have to do to properly reproduce this, but .. if in my project you type the: var x = { aProperty: 1 }.| you will see lots of different unrelated stuff, including things like _L143() - anonymous functions, i presume. What i expected to see, though, is: aProperty But its not among the hundreds of suggestions.
You are right, the names like _L143 are internal names of anonymous functions. We used for finding scopes etc. The problem is in recognizing context in this case.
The anonymous function shouldn't be in cc items anymore. But the property of the object are not offered.
The property are now offered. Should work correctly now. Adding test for the cc.
Integrated into 'main-silver', will be available in build *201508050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/46425d023aeb User: Petr Pisl <ppisl@netbeans.org> Log: #223111 - Weird anonymous functions as methods in CC