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.
Have a two sources: file1: ------------------------------ /** * @constructor * @returns {Man} */ function Man (fName, sName) { var firstName = fName; var secondName = sName; this.getFirstName = function () { return firstName; } this.getSecondName = function () { return secondName; } } ------------------------------- file2: ------------------------------- var roman = new Man("Roman", "Php"); console.log(); with(roman) { console.log(getFirstName()); } ------------------------------- The Goto declaration doesn't work when you invoke ctrl+click action over the getFirstName() function in second file.
This case is fixed at web-main in javascript-with branch
Added to the web-main in the change: http://hg.netbeans.org/web-main/rev/5cbdcccf7a98