IDEA-53352 Completing multiple parameters inside if statement inserts semicolon incorrectly

This commit is contained in:
peter
2010-04-06 14:25:53 +04:00
parent e7caa62de3
commit 8ea4bb8771
5 changed files with 59 additions and 21 deletions
@@ -0,0 +1,9 @@
public class Foo {
public void handleInsert(InsertionContext context, LookupElement item) {
if (hasParams(context, item)<caret>)
}
private static boolean hasParams(InsertionContext context, LookupElement item) {
return false;
}
}
@@ -0,0 +1,9 @@
public class Foo {
public void handleInsert(InsertionContext context, LookupElement item) {
if (hasParams(<caret>))
}
private static boolean hasParams(InsertionContext context, LookupElement item) {
return false;
}
}