diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hint/ShowParameterInfoContext.java b/platform/lang-impl/src/com/intellij/codeInsight/hint/ShowParameterInfoContext.java index 421b536819e1..92cbbecc053b 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hint/ShowParameterInfoContext.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/hint/ShowParameterInfoContext.java @@ -122,7 +122,7 @@ public class ShowParameterInfoContext implements CreateParameterInfoContext { if (editor.isDisposed() || !editor.getComponent().isVisible()) return; PsiDocumentManager.getInstance(project).performLaterWhenAllCommitted(() -> { - if (editor.isDisposed() || DumbService.isDumb(project)) return; + if (editor.isDisposed() || DumbService.isDumb(project) || !editor.getComponent().isShowing()) return; final Document document = editor.getDocument(); if (document.getTextLength() < elementStart) return;