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.
If you have module.exports = ... or exports.myfnc = .... then both module and exports are being hinted as undeclared global variables. Would it be possible to add them to the list of known global variables? Thank you Product Version = NetBeans IDE Dev (Build web-main-1310-on-20140923) (#eaf38dec65e3) Operating System = Linux version 3.13.0-35-generic running on i386 Java; VM; Vendor = 1.9.0-ea; Java HotSpot(TM) Client VM 1.9.0-ea-b30; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.9.0-ea-b30
Fixed. The hint now checks also names of all global objects from frameworks.
Integrated into 'main-silver', will be available in build *201409241121* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fc60ced31ea3 User: Petr Pisl <ppisl@netbeans.org> Log: #247390 - Add module and exports to global variables list
Thank you, verified Product Version: NetBeans IDE Dev (Build 201409260001) Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)