mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
typing 'new File(' shouldn't insert some File* imported class when java.io.File is not imported yet
This commit is contained in:
@@ -1100,6 +1100,10 @@ public class UTest {
|
||||
edt { myFixture.performEditorAction IdeActions.ACTION_EDITOR_MOVE_CARET_DOWN }
|
||||
type ' '
|
||||
assert myFixture.file.text.contains('Foo239Util2 ')
|
||||
|
||||
myFixture.configureByText "a.java", "class Foo {{ <caret> }}"
|
||||
type 'new Foo239('
|
||||
assert myFixture.file.text.contains('new Foo239()')
|
||||
}
|
||||
|
||||
public void testTypingFirstVarargDot() {
|
||||
|
||||
Reference in New Issue
Block a user