mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 08:45:34 +07:00
IDEA-53352 Completing multiple parameters inside if statement inserts semicolon incorrectly
This commit is contained in:
+9
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user