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

Bug 498292

Summary: [CSS] CSS content assist does not sort template proposals
Product: [ECD] Orion Reporter: Curtis Windatt <curtis.windatt.public>
Component: JS ToolsAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Mike_Wilson, Olivier_Thomann
Version: 13.0   
Target Milestone: 13.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Curtis Windatt CLA 2016-07-21 11:14:14 EDT
If you content assist to complete 'padding' the order of the returned proposals is wrong.  This is because templates don't have a name property which is what our sort is based on.  If neither entry has a name we should sort on the template.
Comment 1 Curtis Windatt CLA 2016-07-21 11:41:14 EDT
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=3070d79d8b4f5bc503f259430e5288a47d290b5a
Fixed in master

Had to fix sorting for both templates and keywords

Updated the tests to check all the proposals, not just keywords.  This improves our check for the right symbol completions as well as tests the sorting.