mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[^yole] don't freeze and mark lookup items as preselected when lookup is not shown yet (IDEA-69590, IDEA-69259)
This commit is contained in:
@@ -761,7 +761,18 @@ public class Bar {
|
||||
assert myFixture.lookupElementStrings.containsAll(['private', 'protected'])
|
||||
}
|
||||
|
||||
public void testExactMatchesFirst() {
|
||||
myFixture.configureByText("a.java", """
|
||||
public class UTest {
|
||||
void nextWord() {}
|
||||
|
||||
void foo() {
|
||||
n<caret>
|
||||
}
|
||||
}""")
|
||||
type 'ew'
|
||||
assert myFixture.lookupElementStrings == ['new', 'nextWord']
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user