I am trying to use plantuml add-ons on VSCode: there are several but none of them is working. In this eample I am using the plantUML add-on.
As you can see on the second image the preview is blank.
Can you help me ?
I am trying to use plantuml add-ons on VSCode: there are several but none of them is working. In this eample I am using the plantUML add-on.
As you can see on the second image the preview is blank.
Can you help me ?
I had the same issue. My preview started working right after I installed the Java Runtime Environment (JRE).
sudo apt install default-jre
–
Lorilee sudo apt install graphviz
and sudo apt install default-jre
on Ubuntu 24.04. –
Chlorohydrin On windows, you can now use chocolatey:
choco install plantuml
You then have to restart VsCode for the previewer to properly work.
the solution is:
You can open the diagram by hitting ALT + D to preview the PlantUML diagram on Windows and Option key + D on Mac.
Download Java Runtime . Click "Instructions"
Install graphviz
sudo apt update
sudo apt install graphviz
sudo apt install graphviz
and sudo apt install default-jre
on Ubuntu 24.04. –
Chlorohydrin The answer is right, however there is another issue too. I am going to post here the other issue for anyone wandering, because that issue is not on stackoverflow.
If you find the error:
Than here are the answers:
In short:
My local server doesn't want to render. I changed server to plantuml.com See details here: https://skalolaskovy.ru/analytics/65-system-analytics/603-vs-code-does-not-generate-diagram (russian lang.)
If you use plantUML on VSCode with WSL remote, try this :
sudo apt install plantuml
plantuml.jar
so it isn't necessary to install it at a system level –
Lorilee © 2022 - 2024 — McMap. All rights reserved.