boolean isExcluded(@NotNull VirtualFile file) {
      return !showExcludedFiles && (ProjectFileIndex.getInstance(project).isExcluded(file) || isProjectOrWorkspaceFile(file));
    }
boolean isExcluded(@NotNull VirtualFile file)