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 249850 - Module returning new instance not resolved for code completion
Summary: Module returning new instance not resolved for code completion
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2015-01-16 09:43 UTC by Vladimir Riha
Modified: 2015-04-29 12:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-01-16 09:43:45 UTC
Please try:
 - open project from https://netbeans.org/bugzilla/attachment.cgi?id=151542
 - open js/bbb2/aa.js
 - type on line 29

moduleC

 - type dot
 => cc should offer spaceShip, origin, anatomy etc. but instead general JS code completion is offered.

Used to work in Build 201412160001.


Thank you


Product Version: NetBeans IDE Dev (Build 201501160001)
Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2015-01-16 12:19:59 UTC
Hmmm, there is one more problem. The NodeJs support works with the code in aa.js as with NodeJs modules. But this is requirejs module :(
Comment 2 Roman Svitanic 2015-04-29 12:25:48 UTC
CC is showing object's properties in mentioned case. Tested on:

Product Version: NetBeans IDE Dev (Build 20150429-dbfa5313bcfb)
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)