Bug 520685 - [Generic Editor] Sort (most) extensions by most specialized content-type
Summary: [Generic Editor] Sort (most) extensions by most specialized content-type
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.8   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.8 M2   Edit
Assignee: Mickael Istria CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 520659
  Show dependency tree
 
Reported: 2017-08-08 08:36 EDT by Mickael Istria CLA
Modified: 2017-08-10 03:18 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2017-08-08 08:36:39 EDT
A better heuristic to pick the most appropriate extension when multiple ones are provided and only on is supposed to be used is to pick the "most specialized" extension, ie the one that applies to the most specific content-type.
Comment 1 Eclipse Genie CLA 2017-08-08 12:01:02 EDT
New Gerrit change created: https://git.eclipse.org/r/102710
Comment 3 Mickael Istria CLA 2017-08-09 09:42:24 EDT
Thanks Lucas for the review.
Comment 4 Eclipse Genie CLA 2017-08-10 01:19:06 EDT
New Gerrit change created: https://git.eclipse.org/r/102828