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).
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.
On windows, you can now use chocolatey:
choco install plantuml
You then have to restart VsCode for the previewer to properly work.
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:
Download Java Runtime . Click "Instructions"
Install graphviz
sudo apt update
sudo apt install graphviz
If you use plantUML on VSCode with WSL remote, try this :
sudo apt install plantuml