diff --git a/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/handlers/KotlinFunctionInsertHandler.kt b/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/handlers/KotlinFunctionInsertHandler.kt index b42da892fda..cfe4a0dfae9 100644 --- a/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/handlers/KotlinFunctionInsertHandler.kt +++ b/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/handlers/KotlinFunctionInsertHandler.kt @@ -179,9 +179,7 @@ sealed class KotlinFunctionInsertHandler(callType: CallType<*>) : KotlinCallable if (!insertTypeArguments) { if (shouldPlaceCaretInBrackets(completionChar) || closeBracketOffset == null) { editor.caretModel.moveToOffset(openingBracketOffset + 1 + inBracketsShift) - if (!insertLambda) { - AutoPopupController.getInstance(project)?.autoPopupParameterInfo(editor, offsetElement) - } + AutoPopupController.getInstance(project)?.autoPopupParameterInfo(editor, offsetElement) } else { editor.caretModel.moveToOffset(closeBracketOffset + 1) } diff --git a/idea/src/org/jetbrains/kotlin/idea/editor/KotlinTypedHandler.java b/idea/src/org/jetbrains/kotlin/idea/editor/KotlinTypedHandler.java index 92e1d2bb845..1552b69f038 100644 --- a/idea/src/org/jetbrains/kotlin/idea/editor/KotlinTypedHandler.java +++ b/idea/src/org/jetbrains/kotlin/idea/editor/KotlinTypedHandler.java @@ -100,6 +100,7 @@ public class KotlinTypedHandler extends TypedHandlerDelegate { } if (iterator.atEnd() || !(SUPPRESS_AUTO_INSERT_CLOSE_BRACE_AFTER.contains(iterator.getTokenType()))) { + AutoPopupController.getInstance(project).autoPopupParameterInfo(editor, null); return Result.CONTINUE; }