Bug 560278 - [content assist] filtering should rank subword matches lower
Summary: [content assist] filtering should rank subword matches lower
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.15   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: 4.15 M3   Edit
Assignee: Julian Honnen CLA
QA Contact: Roland Grunberg CLA
URL:
Whiteboard:
Keywords:
: 560887 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-18 08:58 EST by Julian Honnen CLA
Modified: 2020-03-07 16:03 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Honnen CLA 2020-02-18 08:58:29 EST
After filtering, subword matches are currently ranked too high. Example:

public class Demo {

	public void test() {
		Demo.get|
	}
	
	static String getBranchName() { return ""; }
	
	static String getName() { return ""; }
}

Content assist initially proposes
1) getBranchName()
2) getName()

--> alphabetical order, correct

Subsequent filtering (typing "name") still shows the same order, but getName() should be ranked higher.
Comment 1 Eclipse Genie CLA 2020-02-18 09:02:35 EST
New Gerrit change created: https://git.eclipse.org/r/157901
Comment 3 Roland Grunberg CLA 2020-02-20 11:31:04 EST
Verified for 4.15 M3 using I20200219-0600 build
Comment 4 Stephan Herrmann CLA 2020-03-07 16:03:37 EST
*** Bug 560887 has been marked as a duplicate of this bug. ***