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 247560

Summary: CC for require offers core modules in path completion
Product: javascript Reporter: Vladimir Riha <vriha>
Component: Node.jsAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description Vladimir Riha 2014-09-29 14:17:18 UTC
Created attachment 149595 [details]
IDE log

Please try invoke cc before the closing quote in


var p = require("ee/f")

it offers (among relevant files/folders) also NodeJS core modules like fs and freelist which is not correct and such module cannot be loaded.


Thank you


Product Version: NetBeans IDE Dev (Build 201409290001)
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)