This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have "Subword Completion" turned on. Let's say there are 2 methods in my class named getName() and getDisplayName(). when I start typing "getNa", both methods appear in the suggestion list, which is correct, but it seems that the alphabetically first method is preselected. Right now, I would always have to manually select "getName" no matter what I type, as every partial sequence of "getName" is also in "getDisplayName". Instead, I would expect that the method that most exactly matches what I typed so far would be preselected.
What makes this problem even worse is that the sequence already put is matched very generously with method names. Another example should help to understand what I mean by that: Type "org.openide.nodes.Node node; node.set" The suggestions are: "getPasteTypes getPropertySets getShortDescription isExpert setDisplayName ..." I obviously wanted to find a method with the exact sequence "set" in its name. I get all methods which contain an "s", "e", and "t" somewhere in its name. This would barely be a problem if 1. exactly matching methods would be prioritized 2. methods that contain more of the letters put in exactly side by side would be prioritized.
Duplicate of 248010 *** This bug has been marked as a duplicate of bug 248010 ***
Created attachment 152868 [details] Shows the proposal in NB8.1 See the screenshot for the fixed behaviour in NB8.1 provided by https://netbeans.org/bugzilla/show_bug.cgi?id=248010
I don't really get why this is marked as the duplicate regarding that it is the older of the two bug entries, but as long as this issue is fixed, I'm happy.
(In reply to DanielBr from comment #4) > I don't really get why this is marked as the duplicate regarding that it is > the older of the two bug entries, but as long as this issue is fixed, I'm > happy. Because the commit for fix has been made in 248010 (the newer issue).