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.
If you have a following script element <script data-main="js/page1.js" src="js/lib/require.js"></script> then go to declaration for data-main does not work because of the ".js" part. RequireJS as such seems to work with both cases. Thank you Product Version: NetBeans IDE 8.0.1 RC1 (Build 201408122300) Java: 1.7.0_65; Java HotSpot(TM) Client VM 24.65-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_65-b17 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Changeset: 624825953003 Author: Roman Svitanic <rsvitanic@netbeans.org> Date: 2015-03-31 14:09 Message: #246454: Navigation from data-main not working with .js - fixed
Integrated into 'main-silver', will be available in build *201504010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/624825953003 User: Roman Svitanic <rsvitanic@netbeans.org> Log: #246454: Navigation from data-main not working with .js - fixed Task #246454 - Navigation from data-main not working with .js
Verified, thank you Product Version: NetBeans IDE Dev (Build 201504030001) Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25 Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)