Skip to content

Instantly share code, notes, and snippets.

@afoeder
Created March 7, 2025 10:25
Show Gist options
  • Save afoeder/7b9c6c9a59d4dcaddb47e914c8ce0309 to your computer and use it in GitHub Desktop.
Save afoeder/7b9c6c9a59d4dcaddb47e914c8ce0309 to your computer and use it in GitHub Desktop.
Use a newer or specific version of PlantUML in Jetbrains-based IDEs

Use Intellij stuff with PlantUML

Source:

TL;DR:

  • The JAR is located in ~/Library/Caches/JetBrains/{Productname}/markdown/download/plantumllanguageextension/plantuml.jar.
    • You can confirm the (old) version with java -jar plantuml.jar --version.
    • Delete the JAR or the plantumllanguageextension.
  • Find the most recent JAR in under the Github Releases
    • copy its hyperlink so that you have https://github.com/plantuml/plantuml/releases/download/v1.2025.2/plantuml-1.2025.2.jar
  • Open the IDE, open the Registry with Shift-Shift and type registry. Open the matching Registry… command.
    • Find the item of markdown.plantuml.download.link, and overwrite the value of the .jar URL from your clipboard
  • Go to File | Settings | Languages & Frameworks | Markdown and click 'Install' next to the PlantUML extension -> this will force the IDE to download the JAR from the location you specified in the registry.
    • You might restart the IDE.
    • the .jar file in /markdown/download/plantumllanguageextension/ should exist now

For Graphviz: https://stackoverflow.com/a/71052034/1388892

TL;DR: brew install graphviz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment