mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-84025 Non-public class in different package interferes with code completion
This commit is contained in:
@@ -1263,4 +1263,13 @@ class Foo {
|
||||
assert myFixture.file.text.contains('new File()')
|
||||
}
|
||||
|
||||
public void "test inaccessible class in another package shouldn't prevent choosing by space"() {
|
||||
myFixture.addClass("package foo; class b {}")
|
||||
myFixture.configureByText 'a.java', 'class Foo {{ <caret> }}'
|
||||
type 'b'
|
||||
assert lookup?.currentItem?.lookupString == 'boolean'
|
||||
type ' '
|
||||
myFixture.checkResult 'class Foo {{ boolean <caret> }}'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user