@NotNull
  @Override
  public Collection<PsiFileSystemItem> computeDefaultContexts() {
    PsiFile containingFile = getElement().getContainingFile();
    PsiDirectory containingDirectory =
      containingFile.getParent() != null ? containingFile.getParent() : containingFile.getOriginalFile().getContainingDirectory();
    if (containingDirectory == null) {
      Language language = containingFile.getLanguage();
      if (language instanceof IgnoreLanguage) {
        VirtualFile affectedRoot =
          ((IgnoreLanguage)language).getAffectedRoot(containingFile.getProject(), containingFile.getOriginalFile().getVirtualFile());
        if (affectedRoot != null) {
          containingDirectory = containingFile.getManager().findDirectory(affectedRoot);
        }
      }
    }
    return containingDirectory != null ? Collections.singletonList(containingDirectory) :
           super.computeDefaultContexts();
  }
@NotNull
  @Override
  public Collection<PsiFileSystemItem> computeDefaultContexts()