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 247715

Summary: Go to declaration does not work for exported instance
Product: javascript Reporter: Vladimir Riha <vriha>
Component: Node.jsAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: tmysik
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: sample project

Description Vladimir Riha 2014-10-06 09:12:21 UTC
Created attachment 149729 [details]
sample project

Please check the attached project and open maingt.js. It contains following lines


var o5 = require("../folder/instanceRef");
o5.rfirstName;//gt;8;instanceRef.js;10;10
o5.rdob;//gt;6;instanceRef.js;11;10
o5.rprops.b.b1;//gt;6;instanceRef.js;13;10
o5.rwalk();//gt;6;instanceRef.js;20;10
o5.rdateOfBirth();//gt;8;instanceRef.js;27;10
o5.rfakeOrigin.info();//gt;8;instanceRef.js;46;18
o5.rconfig.c1;//gt;8;instanceRef.js;47;18


If you try Ctrl+Click on either of the o5 properties/methods (rdob, rconfig...), neither one will work


Thank you

Product Version: NetBeans IDE Dev (Build 201410060001)
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)
Comment 1 elennaro 2015-02-28 11:25:30 UTC
Experiencing same problems