mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 10:07:41 +07:00
be prepared to middle matching with one char prefix
This commit is contained in:
+1
-1
@@ -147,7 +147,7 @@ public class JavaMemberNameCompletionContributor extends CompletionContributor {
|
||||
}
|
||||
private static boolean hasStartMatches(Set<LookupElement> set, PrefixMatcher matcher) {
|
||||
for (LookupElement lookupElement : set) {
|
||||
if (hasStartMatches(matcher, lookupElement.getAllLookupStrings())) {
|
||||
if (matcher.isStartMatch(lookupElement)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user