@Override
    public void actionPerformed(@NotNull AnActionEvent e) {
      Project project = e.getProject();
      if (project == null) return;
      RecentLocationsAction.showPopup(
        project, false, LangBundle.message("scratch.file.popup.title"),
        LangBundle.message("scratch.file.popup.changed.title"),
        LangBundle.message("scratch.file.popup.title.empty.text"),
        changed -> getPlaces(project, changed),
        toRemove -> removePlaces(project, toRemove));
    }
@Override
    public void actionPerformed(@NotNull AnActionEvent e)