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

Bug 440569

Summary: Provide templates and completion proposals for ESLint directives
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 7.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Michael Rennie CLA 2014-07-28 11:58:35 EDT
It would be super handy if we had code templates and assist for:

1. eslint-env - template and assist on known env ooptions (amd, node, etc)
2. eslint-disable/enable - template and assist for installed rules (semi, no-shadow, etc)
Comment 1 Michael Rennie CLA 2014-07-31 16:26:59 EDT
Pushed the new templates + doc vs jsdoc detection + tests:

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

Some items remaining:
1. show proposals for libraries in eslint-env (amd, node, etc)
2. show proposals for rules for eslint, eslint-disable/enable
Comment 2 Michael Rennie CLA 2014-08-20 15:24:30 EDT
Pushed the remainder of the proposals + tests to:

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

any additional polish can be done in their own bugs