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

Bug 487668

Summary: [content assist] Substring completion still breaks proposal sorting
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: TextAssignee: Noopur Gupta <noopur_gupta>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, markus.kell.r
Version: 4.6   
Target Milestone: 4.6 M6   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/67327
https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=2e96c2b8506f407b3220551a72308ec19956b26d
Whiteboard:
Bug Depends on: 483511, 488441    
Bug Blocks:    
Attachments:
Description Flags
Screenshot none

Description Markus Keller CLA 2016-02-11 09:32:04 EST
Created attachment 259710 [details]
Screenshot

I20160209-0800

Even after bug 483511, I see still cases where substring completions are shown before prefix completions. See attachment for examples.

Probably a issue with proposals from different providers. In the examples, affected proposals are from type history and template proposals.
Comment 1 Eclipse Genie CLA 2016-02-25 08:47:49 EST
New Gerrit change created: https://git.eclipse.org/r/67327
Comment 2 Noopur Gupta CLA 2016-02-25 08:53:07 EST
Attached screenshot reports four issues. 

Two issues - 'Try18' and 'main(..)' - will be fixed by bug 488441.

Other two issues related to template proposals are fixed in the Gerrit patch.

Reducing the relevance of substring proposals by a value of 400 seems to work fine for all the issues reported in this bug and bug 483511.