mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
prefix matching should depend on the actual prefix in the editor, not on the one that the completion was invoked with (IDEA-69525)
This commit is contained in:
@@ -774,5 +774,13 @@ public class UTest {
|
||||
assert myFixture.lookupElementStrings == ['new', 'nextWord']
|
||||
}
|
||||
|
||||
public void testUpdatePrefixMatchingOnTyping() {
|
||||
myFixture.addClass("class CertificateEncodingException {}")
|
||||
myFixture.addClass("class CertificateException {}")
|
||||
myFixture.configureByText 'a.java', 'class Foo {<caret>}'
|
||||
type 'CertificateExce'
|
||||
assert myFixture.lookupElementStrings == ['CertificateException', 'CertificateEncodingException']
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user