@Override
    public void beforeActionPerformed(@NotNull AnAction action, @NotNull AnActionEvent event) {
      if (action instanceof HintManagerImpl.ActionToIgnore) return;

      AnAction escapeAction = ActionManagerEx.getInstanceEx().getAction(IdeActions.ACTION_EDITOR_ESCAPE);
      if (action == escapeAction) return;

      hideHints(HintManager.HIDE_BY_ANY_KEY, false, false);
    }
@Override
    public void beforeActionPerformed(@NotNull AnAction action, @NotNull AnActionEvent event)