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

Bug 439056

Summary: Update content assist detection to support eslint-env
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 7.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Michael Rennie CLA 2014-07-07 14:31:06 EDT
With the update to eslint 0.6.2 and the dropped support for the jslint directive, we need to update the content assist code that detects what the root object should be.

See:

JSContentAssist.prototype.browserRegExp
JSContentAssist.prototype.nodeRegExp
JSContentAssist.prototype.amdRegExp
Comment 1 Michael Rennie CLA 2014-07-09 03:10:48 EDT
Fix + tests:

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

also converted a couple of the js project files to make sure eslint-env is working properly