Bug 464821 - [tern] Get multi-file support working reliably
Summary: [tern] Get multi-file support working reliably
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 9.0   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 432940 467333
Blocks:
  Show dependency tree
 
Reported: 2015-04-16 14:10 EDT by Michael Rennie CLA
Modified: 2015-06-16 10:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2015-04-16 14:10:27 EDT
With Tern now being the default assist provider (bug 432940) we need to get it working using the file client / script resolver to reliably work across files.

There is an orion_requirejs plugin in master, but it does not work properly yet.
Comment 1 Michael Rennie CLA 2015-04-29 12:29:19 EDT
The parser support and tests have been pushed to:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=58665821e23e157a09a6b7dd6f1c5ef1dcc9bb86
Comment 2 Michael Rennie CLA 2015-05-11 13:23:45 EDT
Pushed an update the fixes up pending async jobs:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=4cd676b7d8f107cd25b68455c23ca87ed00bd787
Comment 3 Michael Rennie CLA 2015-05-19 13:47:59 EDT
Multi file support for requirejs-like dependencies has been merged with:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=661db403ac46149bd81aa32648adac76fb3402de

I will leave this open until I get the Orion node dependencies plugin deployed.
Comment 4 Eric Moffatt CLA 2015-05-21 10:39:08 EDT
I've just pushed some extensions to the new 'openEditor' api to allow it to handle opening the file using the split editor capability.

Commit: a690f82eb84bc06f74a14e8cd8bd7c8bfde1c1e8
Comment 5 Michael Rennie CLA 2015-05-28 12:05:22 EDT
Added the plugins for Node.js, AngularJS and ComponentJS in:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=e0694192f7cc82aff9acf3fd89d4c7552e558079

They are currently disabled by default until I do more testing
Comment 6 Michael Rennie CLA 2015-06-02 15:37:30 EDT
Pushed support to turn on the node.jhs plugin by default and a shared resolver for all plugins to use for resolving workspace files that have logical names:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=325c407102f861f6bb3e3fffbf6e32b412a497f8
Comment 7 Michael Rennie CLA 2015-06-16 10:13:32 EDT
With the last round of fixes for 464822 cross-file + indexed types are working as expected. There is still bug 465816 which will support cross-file from HTML, but does not require any more fixes in the context of this bug.

Closing fixed.