@Override
  public boolean isFileInContent(@Nullable VirtualFile vf) {
    if (vf == null) {
      return false;
    }
    return ReadAction.compute(() -> {
      if (!vf.isValid()) return false;
      boolean isUnderProject = isFileInBaseDir(vf) ||
                               isInDirectoryBasedRoot(vf) ||
                               hasExplicitMapping(vf) ||
                               myExcludedIndex.isInContent(vf) ||
                               (!Registry.is("ide.hide.excluded.files") && myExcludedIndex.isExcludedFile(vf));
      return isUnderProject && !isIgnored(vf);
    });
  }
@Override
  public boolean isFileInContent(@Nullable VirtualFile vf)