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 consider following: responseError.js ====================================== function ResponseError(httpCode, msg) { this.httpCode = httpCode; this.msg = msg; } ResponseError.prototype.test = function(){}; ResponseError.prototype = Object.create(Error.prototype); ResponseError.prototype.constructor = ResponseError; module.exports = ResponseError; myfile.js ====================================== var re = require("responseError"); var myError = new re(); => both navigator and code completion show type of myError to be "re", would be nice if correct ResponseError would be displayed instead. Thank you Product Version: NetBeans IDE Dev (Build 201409220001) 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-35-generic running on amd64; UTF-8; en_US (nb)
I imagine there could be various "clear" cases
This is a totally needed feature! If it could also act of cc suggestions arrangement it will be twice as great!