private static @NotNull HtmlChunk getVcsStatus(@NotNull Project project, @NotNull VirtualFile file) {
    FileStatus status = FileStatusManager.getInstance(project).getStatus(file);
    if (status == FileStatus.NOT_CHANGED || status == FileStatus.SUPPRESSED) {
      return HtmlChunk.empty();
    }
    HtmlChunk vcsText = HtmlChunk.text(status.getText());
    Color color = status.getColor();
    return HtmlChunk.p().children(
      GRAYED_ELEMENT.addText(CodeInsightBundle.message("documentation.file.vcs.status.label")),
      HtmlChunk.nbsp(),
      color == null ? vcsText : vcsText.wrapWith(HtmlChunk.span().attr("color", ColorUtil.toHex(color)))
    );
  }
private static @NotNull HtmlChunk getVcsStatus(@NotNull Project project, @NotNull VirtualFile file)