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

Bug 442395

Summary: Polish eslint assist completions
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: All   
OS: All   
Whiteboard:
Bug Depends on: 438892    
Bug Blocks:    

Description Michael Rennie CLA 2014-08-22 10:32:28 EDT
FUP to bug 439056 there are a few warts:

1. if you type the start of a rule id to the '-' char and do assist -> insert you get the incorrect insertion:

/* eslint-disable no-ev^assist -> inserts no-no-eval, but the rule id is no-eval, this is bug 438892

2. The rule id completions should have a better description, we already know what they are but not what they do.
Comment 1 Michael Rennie CLA 2014-08-22 14:35:16 EDT
Added descriptions to the rules in ESLint, which we can load to show in the assist:

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