@Override
      public void after(@NotNull List<? extends @NotNull VFileEvent> events) {
        if (GeneralSettings.getInstance().isSyncOnFrameActivation()) {
          return;
        }

        for (Project project : ProjectManager.getInstance().getOpenProjects()) {
          if (project.isDisposed()) {
            continue;
          }

          List<String> openFilePaths = ContainerUtil.map(FileEditorManager.getInstance(project).getSelectedFiles(), f -> f.getPath());
          EditorNotifications notifications = EditorNotifications.getInstance(project);
          for (VFileEvent event : events) {
            String path = event.getPath();
            if (openFilePaths.contains(path)) {
              VirtualFile file = event.getFile();
              if (file != null) {
                notifications.updateNotifications(file);
              }
            }
          }
        }
      }
@Override
      public void after(@NotNull List<? extends @NotNull VFileEvent> events)