void () { ExternalSystemProjectTracker projectTracker = ExternalSystemProjectTracker.getInstance(project); List<ExternalSystemProjectId> projectSettings = findAllProjectSettings(); ApplicationManager.getApplication().invokeLater(() -> { projectSettings.forEach(it -> projectTracker.markDirty(it)); for (Contributor contributor : EP_NAME.getExtensions()) { contributor.markDirtyAllExternalProjects(project); } projectTracker.scheduleProjectRefresh(); }, project.getDisposed()); }