Do not reformat parent code block on "complete current statement" action (IDEA-102479)

This commit is contained in:
Yaroslav Lepenkin
2015-08-11 14:39:13 +03:00
parent 29b0da3452
commit 8eea8eb13f
7 changed files with 23 additions and 12 deletions
@@ -1,8 +1,7 @@
class Foo {
abstract void a();
{
a();<caret>
a();
}
}
@@ -1,8 +1,7 @@
class Foo {
abstract void a();
{
a();<caret>
a();
}
}
@@ -1,6 +1,5 @@
class Foo {
boolean a;
{
if (a) {
} else {
@@ -0,0 +1,9 @@
public class Test {
public void foo(int x) {
int a = 2<caret>
System.out.println("");
System.out.println("");
System.out.println("");
}
}
@@ -0,0 +1,9 @@
public class Test {
public void foo(int x) {
int a = 2;
System.out.println("");
System.out.println("");
System.out.println("");
}
}