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 245961 - Code completion contains mixed items if modules has same name
Summary: Code completion contains mixed items if modules has same name
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 12:44 UTC by Vladimir Riha
Modified: 2014-07-24 12:48 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 2014-07-24 12:44:48 UTC
Please try [1] sample project and open m1.js and invoke at the end of line 2, type 

m1.


=> code completion offers members from model/Base.js and also controller/Base.js. The module is loaded using "./Base", perhaps based on this IDE could filter code completion results for only the correct module.

Thank you


Product Version: NetBeans IDE Dev (Build 201407240001)
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-32-generic running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2014-07-24 12:48:36 UTC
[1] https://netbeans.org/bugzilla/attachment.cgi?id=148279