DefaultActionGroup (@NotNull Project project, @NotNull TodoPanelSettings settings, boolean skipShowAllWithoutFilters, @NotNull Consumer<? super TodoFilter> todoFilterConsumer) { TodoFilter[] filters = TodoConfiguration.getInstance().getTodoFilters(); DefaultActionGroup group = new DefaultActionGroup(); if (!skipShowAllWithoutFilters || filters.length != 0) { group.add(new TodoFilterApplier(IdeBundle.message("action.todo.show.all"), IdeBundle.message("action.description.todo.show.all"), null, settings, todoFilterConsumer)); } for (TodoFilter filter : filters) { group.add(new TodoFilterApplier(filter.getName(), null, filter, settings, todoFilterConsumer)); } group.addSeparator(); group.add(new DumbAwareAction(IdeBundle.messagePointer("action.todo.edit.filters"), IdeBundle.messagePointer("action.todo.edit.filters.description"), AllIcons.General.Settings) { @Override public void actionPerformed(@NotNull AnActionEvent e) { TodoConfigurable todoConfigurable = ConfigurableFactory.Companion.getInstance().getTodoConfigurable(project); // Rider overrides the result of the method [getTodoConfigurable] if (todoConfigurable.getClass().equals(TodoConfigurable.class)) { ShowSettingsUtil.getInstance().showSettingsDialog(project, TodoConfigurable.class); } else { ShowSettingsUtil.getInstance().editConfigurable(project, todoConfigurable); } } } ); return group; }