IDEA-69972 Smart Complete Statement: Leave code block if the action is called for the complete statement

Don't leave method code block on smart completion
This commit is contained in:
Denis Zhdanov
2011-05-23 11:08:17 +04:00
parent 1526e4e0d5
commit c8a9c6fcb8
4 changed files with 25 additions and 10 deletions
@@ -2,6 +2,6 @@
public class Foo {
{
foo(x);
<caret>
}
<caret>
}
@@ -1,6 +1,6 @@
public class Foo {
public void foo() {
String s = "abcdef";
<caret>
}
<caret>
}
@@ -2,6 +2,6 @@
public class Test {
public void foo() {
int x = 2;
<caret>
}
<caret>
}