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.
Summary: | RequireJS support broken in javascript2-frameworks | ||
---|---|---|---|
Product: | javascript | Reporter: | Vladimir Riha <vriha> |
Component: | RequireJS | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dylanv |
Priority: | P2 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | IDE log |
Hm, it happens only if I re-use my userdir from older trunk build. Starting IDE with fresh user dir makes it working again. Please let me know if you want the user dir, I can share it offline. *** Bug 262459 has been marked as a duplicate of this bug. *** I didn't find a reason for this behavior. Except that the old userdir contained a wrong old date. I have increased version of the index so it could help. Integrated into 'main-silver', will be available in build *201607200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e9f6403c4925 User: Petr Pisl <ppisl@netbeans.org> Log: #262327 - RequireJS support broken in javascript2-frameworks |
Created attachment 159954 [details] IDE log I'm using build below and RequireJS support is completely broken: #1 go to declaration for modules in array of define([...]) in statements like define([ "routes/service/ServiceRoute", "routes/home/HomeRoute", ], function () { "use strict"; return Array.prototype.slice.call(arguments); }); does not work at all (Ctrl+ hover over e.g. "routes/home/HomeRoute" does not underline it as clickable link and clicking on it does nothing) #2 CC for modules in define(["^"]) or require(["^"]) #3 CC for properties/methods of modules does not work (offers only plain JS completion): define(["myModule"], function(a){ a.^ }) #4 There is missing RequireJS configuration in project properties that used to allow mapping of external files to modules. Project properties is missing RJS category completely. Thank you Product Version: NetBeans IDE Dev (Build javascript2-frameworks-1959-on-20160602) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Linux version 3.16.0-30-generic running on amd64; UTF-8; en_US (nb)