private @NotNull @NlsSafe String computePrettyLocation(VirtualFile file) {
    var root = ProjectFileIndex.getInstance(myProject).getContentRootForFile(file);
    if (root == null) {
      return file.getName();
    }
    String relativePath = VfsUtilCore.getRelativePath(file, root);
    return relativePath == null ? file.getName() : relativePath;
  }
private @NotNull @NlsSafe String computePrettyLocation(VirtualFile file)