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

Summary: Code completion contains mixed items if modules has same name
Product: javascript Reporter: Vladimir Riha <vriha>
Component: RequireJSAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 8.0.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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