String (@NotNull VirtualFile root, @NotNull Collection<? extends FilePath> filePaths) { String joinedPaths = StringUtil.join(filePaths, path -> VcsFileUtil.relativePath(root, path), ", "); return StringUtil.shortenTextWithEllipsis(joinedPaths, 100, 0); }