mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
IDEA-69604 Complete Current Statement: correct processing for code blocks with empty line
Update caret position without new empty line creation if code block already starts by new line
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
public class Foo {
|
||||
void test(int i) {
|
||||
if (i > 0<caret>) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Foo {
|
||||
void test(int i) {
|
||||
if (i > 0) {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user