Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 492927

Summary: [tern] Support module completions from Tern plugins
Product: [ECD] Orion Reporter: Curtis Windatt <curtis.windatt.public>
Component: JS ToolsAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 12.0   
Target Milestone: 12.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Curtis Windatt CLA 2016-05-03 14:56:38 EDT
Tern 18 added module name completions for requireJS/node/commonJS.  While we cannot use the filename completions, our indexed libraries should contribute additional names.

We should have some tests that module name completions work, for both the libs that come with Tern as well as our own contributed definitions.
Comment 1 Curtis Windatt CLA 2016-05-05 16:01:46 EDT
We should also see what we can do to make this more discoverable.
Comment 2 Curtis Windatt CLA 2016-05-11 13:14:45 EDT
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=78824279d187086a05b018c2b7540ffe66eee861
- Adds support for AMD module completions
- Adds new test suite for module completions
- ES_Modules only supports file path modules currently which we can't support without node FS.
- We can now provide fake files with contents in the testingWorker.