Minimal IntelliJ IDEA plugin for visually comparing PlantUML diagrams in Markdown.
- Put the caret inside a fenced
plantuml/pumlcode block in a Markdown file. - Right click and run Compare PlantUML Diagram with Base.
- The plugin reads the same file from a local git base ref and matches the corresponding PlantUML block.
- Both diagrams are rendered as PNG and displayed side by side.
- If the current PlantUML block has a unique
title, match bytitle. - Otherwise match by block index: the first PlantUML block compares with the first, the second with the second.
The plugin tries refs in this order:
PLANTUML_GIT_DIFF_BASE_REFenvironment variable, when present.dbp-mastermastermain
The plugin tries jar locations in this order:
PLANTUML_JARenvironment variable, when present.~/.cursor/extensions/jebbs.plantuml-2.18.1-universal/plantuml.jar~/.vscode/extensions/jebbs.plantuml-2.18.1/plantuml.jar
Packaged zip:
dist/plantuml-git-diff-idea.zip
Installed locally to:
~/Library/Application Support/JetBrains/IntelliJIdea2026.1/plugins/plantuml-git-diff-idea
Restart IntelliJ IDEA after installation.