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 245184 - order! or text! in the RequireJS definition breaks the navigation support
Summary: order! or text! in the RequireJS definition breaks the navigation support
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.0.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-23 09:32 UTC by Martin Fousek
Modified: 2014-06-25 07:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2014-06-23 09:32:21 UTC
Product Version: NetBeans IDE Dev (Build 20140620-b87c6c9f1372)
Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13
System: Linux version 3.11.0-12-generic running on amd64; UTF-8; en_US (nb)

In several classes we are using 'order!' or 'text!' commands which breaks navigation support of the NetBeans IDE. These are examples of our definition notations:

define([
    'order!components/js/Module',
....
])

define([
    'text!base/templates/menu.html'
], function() {});
Comment 1 Petr Pisl 2014-06-24 09:13:34 UTC
Implemented support for navigation with the plugin part in web-main.
Comment 2 Quality Engineering 2014-06-25 02:31:18 UTC
Integrated into 'main-silver', will be available in build *201406250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7c182b7cd5cf
User: Petr Pisl <ppisl@netbeans.org>
Log: #245184 - order! or text! in the RequireJS definition breaks the navigation support
Comment 3 Martin Fousek 2014-06-25 04:38:13 UTC
Works great, thanks a lot Petre for so quick fixing of this!
Comment 4 Petr Pisl 2014-06-25 07:00:39 UTC
Thanks, I have also added code completion for the used loader plugin. Only used plugins in the project are offered at the beginning of a path. Should be available in the next daily build. The change http://hg.netbeans.org/web-main/rev/093438f4628a
Comment 5 Martin Fousek 2014-06-25 07:39:51 UTC
(In reply to Petr Pisl from comment #4)
> Thanks, I have also added code completion for the used loader plugin. Only
> used plugins in the project are offered at the beginning of a path. Should
> be available in the next daily build. The change
> http://hg.netbeans.org/web-main/rev/093438f4628a

Sounds well. ;) I'll give it try tomorrow, looking forward for that feature.