public static void setScope(@NotNull Project project, @NotNull FindModel model, @NotNull DataContext dataContext) {
    if (AdvancedSettings.getBoolean("ide.remember.last.search.scope")) {
      FindInProjectScopeService.getInstance(project).load(model);
    }
    else {
      setDirectoryName(model, dataContext);
    }
  }
public static void setScope(@NotNull Project project, @NotNull FindModel model, @NotNull DataContext dataContext)