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.

Bug 244923 - CC for properties of object returned by module not offered
Summary: CC for properties of object returned by module not offered
Status: REOPENED
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-06 11:07 UTC by Vladimir Riha
Modified: 2015-08-22 10:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (91.77 KB, application/zip)
2014-06-06 11:07 UTC, Vladimir Riha
Details
IDE log (34.55 KB, text/plain)
2014-06-06 11:07 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-06-06 11:07:38 UTC
Created attachment 147588 [details]
sample project

Please check the attached project and in main.js, at e.g. line 41, type following

newFunc.

and invoke cc. Methods/properties of "Alien" are offered, for methods code completion window even show correct return type but then code completion for these methods/properties is not working:

newFunc.conquer().        => does not offer Array's members
newFunc.getBirthDate().   => does not offer Date's members
newFunc.getWannabeDate(). => does not offer Date's members
newFunc.birth.            => does not offer Date's members
newFunc.getStuff().       => does not offer obj. literal's members

newFunc.anatomy. works because due to the new "match preceding text" completion feature


Product Version: NetBeans IDE Dev (Build 201406050001)
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.13.0-27-generic running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2014-06-06 11:07:52 UTC
Created attachment 147589 [details]
IDE log
Comment 2 Roman Svitanic 2015-04-23 12:58:13 UTC
All of the mentioned properties are offered by CC in:

Product Version: NetBeans IDE Dev (Build 20150423-9371b080a0d4)
Java: 1.7.0_75; Java HotSpot(TM) 64-Bit Server VM 24.75-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_75-b13
System: Mac OS X version 10.10.3 running on x86_64; UTF-8; en_US (nb)
Comment 3 Vladimir Riha 2015-08-22 10:03:20 UTC
Sadly not working now


Product Version: NetBeans IDE Dev (Build 201508210002)
Updates: Updates available
Java: 1.8.0_60; Java HotSpot(TM) Client VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)