void (@NotNull IdeFrame ideFrame) { if (GeneralSettings.getInstance().isSyncOnFrameActivation()) { return; } for (Project project : ProjectManager.getInstance().getOpenProjects()) { if (project.isDisposed()) { continue; } EditorNotifications notifications = EditorNotifications.getInstance(project); for (VirtualFile file : FileEditorManager.getInstance(project).getSelectedFiles()) { notifications.updateNotifications(file); } } }