vscode-plantuml icon indicating copy to clipboard operation
vscode-plantuml copied to clipboard

Just installed, preview doesn't work.

Open AndresCKF opened this issue 3 years ago • 5 comments

I have Java and Graphvix installed. Preview just doesnt work

AndresCKF avatar Jun 10 '22 13:06 AndresCKF

Figured it out, had to add plantuml jar to the system path

AndresCKF avatar Jun 10 '22 15:06 AndresCKF

I'm having this same issue but preview still isn't working for me. I have Graphiz and Java installed and that folder for plantuml on my path. Was there anything else you did?

nathanpjones avatar Jun 14 '22 01:06 nathanpjones

you need the path including the jar file. not just the folder

AndresCKF avatar Jun 14 '22 01:06 AndresCKF

@AndresCKF Can you elaborate, i.e. describe precisely what you added to the system path?

owingruters avatar Sep 16 '22 11:09 owingruters

You can also use Smetana (the internal Java port of GraphViz/Dot embedded in PlantUML sources) instead of the regular dot process

Update the settings.json like below

"plantuml.jarArgs": [
        "-Playout=smetana"
    ],

faboulaws avatar Dec 26 '22 15:12 faboulaws