@Override
  public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e) {
    ArrayList<AnAction> actions = new ArrayList<>();
    final ActionManagerEx actionManager = ((ActionManagerEx) ActionManager.getInstance());
    for (String id : actionManager.getActionIdList(ActionMacro.MACRO_ACTION_PREFIX)) {
      actions.add(actionManager.getAction(id));
    }
    return actions.toArray(AnAction.EMPTY_ARRAY);
  }
@Override
  public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e)