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.
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)
[1] https://netbeans.org/bugzilla/attachment.cgi?id=148279