mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
IDEA-167746 Carry completion list over to the next line on Shift+Enter
This commit is contained in:
@@ -1840,4 +1840,16 @@ ita<caret>
|
||||
assert lookup
|
||||
}
|
||||
|
||||
void "test don't close lookup when starting a new line"() {
|
||||
myFixture.configureByText 'a.java', 'class Foo {{ "abc"<caret> }}'
|
||||
type '.'
|
||||
assert lookup
|
||||
edt {
|
||||
myFixture.performEditorAction(IdeActions.ACTION_EDITOR_START_NEW_LINE)
|
||||
assert lookup
|
||||
assert lookup.lookupStart == myFixture.editor.caretModel.offset
|
||||
assert myFixture.editor.document.text.contains('\n')
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user