private static void updateDefaultSelection(@Nullable Project project, @NotNull String key, @NotNull VirtualFile file) {
    if (project == null) return;
    PropertiesComponent.getInstance(project).setValue(key, file.getPath());
  }
private static void updateDefaultSelection(@Nullable Project project, @NotNull String key, @NotNull VirtualFile file)