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

Bug 484357

Summary: [assist] Descriptions for eslint directive templates are not helpful
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public
Version: 11.0   
Target Milestone: 11.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
screenshot
none
rule assist
none
in-doc completion none

Description Michael Rennie CLA 2015-12-14 14:56:12 EST
See the attached screen shot. If you activate assist to create a new directive, the tooltip is not helpful at all.

We should:

1. get rid of the bullet point, 
2. show the source of the template (what will be inserted), like the rest of the templates
3. show the relevant help link that takes you to the eslint help page for using the directives.
Comment 1 Michael Rennie CLA 2015-12-28 20:24:54 EST
Created attachment 258927 [details]
screenshot
Comment 2 Michael Rennie CLA 2015-12-28 20:25:54 EST
Created attachment 258928 [details]
rule assist

It also looks like we regressed being able to show the metadata about a rule in the assist popup - the tooltip used to show the description of the rule and the link to the ESLint help page for the rule.
Comment 3 Michael Rennie CLA 2015-12-28 20:39:24 EST
Created attachment 258929 [details]
in-doc completion

The in-doc completion showing the bogus bullet point
Comment 4 Curtis Windatt CLA 2016-01-04 10:10:24 EST
Noticed this while working on auto opening the rules list (https://bugs.eclipse.org/bugs/show_bug.cgi?id=483623).
Comment 5 Michael Rennie CLA 2016-01-04 11:25:36 EST
Fixed in:

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

We now have:

1. tooltips back for eslint rules
2. descriptions for eslint envs and help links
3. much better descriptions + examples + help links for the eslint* templates