@Override
      public void fileOpened(@NotNull FileEditorManager source, @NotNull VirtualFile file) {
        RootType rootType = getRootType(file);
        Document document = FileDocumentManager.getInstance().getDocument(file);
        if (document == null || rootType == null || rootType.isHidden()) return;
        rootType.fileOpened(file, source);
      }
@Override
      public void fileOpened(@NotNull FileEditorManager source, @NotNull VirtualFile file)