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.
Created attachment 152465 [details] IDE log Please try following: - create a new HTML5 sample project "Angular Messages" - open Sources/server/server.js - on last line 96, type path. => opened code completion shows methods of path module, that's ok, undo this changes - add either module.exports = {}; or exports.test = {}; to line 96 and repeat the code completion on line 97 => code completion does not contain anything from path module, colors of all top level variables will change So basically code completion for NodeJS modules works only if the JS file is missing both "module.exports" and "exports.something". Thank you Product Version: NetBeans IDE Dev (Build 201503060001) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.13.0-45-generic running on amd64; UTF-8; en_US (nb)
This is probably regression. It worked, when I have implemented this.
Fixed in web-main.
Integrated into 'main-silver', will be available in build *201503270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f2e19a1bed5e User: Petr Pisl <ppisl@netbeans.org> Log: #250993 - Core modules code completion does not work
Thank you, works fine now Product Version: NetBeans IDE Dev (Build 201503300001) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.13.0-45-generic running on amd64; UTF-8; en_US (nb)