private void delegateActionToEditor(@NotNull String actionID,
                                      @Nullable Supplier<? extends AnAction> delegateActionSupplier,
                                      @NotNull AnActionEvent actionEvent) {
    AnAction action = ActionManager.getInstance().getAction(actionID);
    DumbAwareAction.create(e -> ActionUtil.performActionDumbAwareWithCallbacks(
      delegateActionSupplier == null ? action : delegateActionSupplier.get(), actionEvent)
    ).registerCustomShortcutSet(action.getShortcutSet(), list);
  }
private void delegateActionToEditor(@NotNull String actionID,
                                      @Nullable Supplier<? extends AnAction> delegateActionSupplier,
                                      @NotNull AnActionEvent actionEvent)