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.
Product Version: NetBeans IDE Dev (Build 20120614-c6a48f1f4083) Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02 System: Linux version 3.0.0-20-generic running on amd64; UTF-8; en_US (nb) When I have something like: var number = 5; number.| new Number().| On the | position should CC show instance methods and properties - i.e.: toExponential(), toFixed(), constructor. Instead of that there are static one for Number and Object. Sorry for P2 but I would need to have it fixed sooner than another issue to be able to check generated JavaScript2 stubs. Thanks a lot!
Also the CC and navigator window are missing the type of the property.
It looks that the first part was already probably fixed by rewrite of types resolving and just the second part (not so important remains). So downgrading to P3 priority and just the case new Number().| doesn't work.
Looks to be already fixed. I added tests for checking that functionality in the web-main #7693c0a6dee7.
Integrated into 'main-golden', will be available in build *201212010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7693c0a6dee7 User: Martin Fousek <marfous@netbeans.org> Log: #214205 - Wrong code completion for instance methods, properties in javascript2