IDEA-68660 ctrl-shift-enter does not insert a semicolon after anonymous implementation

This commit is contained in:
peter
2015-07-09 20:49:01 +02:00
parent 8cbbf3648b
commit 26f25b917d
4 changed files with 29 additions and 2 deletions
@@ -0,0 +1,10 @@
class Foo {
void a() {
Runnable r = new Runnable() {
@Override
public void run() {
}
}<caret>
}
}
@@ -0,0 +1,10 @@
class Foo {
void a() {
Runnable r = new Runnable() {
@Override
public void run() {
}
};<caret>
}
}
@@ -33,6 +33,8 @@ public class CompleteStatementTest extends EditorActionTestCase {
public void testAddMissingSemicolonToPackageStatement() { doTest(); }
public void testAddMissingSemicolonAfterAnonymous() { doTest(); }
public void testAddMissingParen() throws Exception { doTest(); }
public void testCompleteIf() throws Exception { doTest(); }