private static void closeAllEditorsFor(@NotNull VirtualFile file) {
    for (Project project : ProjectManager.getInstance().getOpenProjects()) {
      FileEditorManager.getInstance(project).closeFile(file);
    }
  }
private static void closeAllEditorsFor(@NotNull VirtualFile file)