diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hints/PopupActions.kt b/platform/lang-impl/src/com/intellij/codeInsight/hints/PopupActions.kt index d4c7d37e05af..0a0c67486c35 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hints/PopupActions.kt +++ b/platform/lang-impl/src/com/intellij/codeInsight/hints/PopupActions.kt @@ -196,6 +196,7 @@ class DisableCustomHintsOption: IntentionAction, HighPriorityAction { override fun invoke(project: Project, editor: Editor, file: PsiFile) { val option = getOptionHintAtOffset(editor, file) ?: return option.disable() + refreshAllOpenEditors() } override fun startInWriteAction() = false @@ -243,6 +244,7 @@ class EnableCustomHintsOption: IntentionAction, HighPriorityAction { override fun invoke(project: Project, editor: Editor, file: PsiFile) { val option = getDisabledOptionInfoAtCaretOffset(editor, file) ?: return option.enable() + refreshAllOpenEditors() } override fun startInWriteAction() = false