qjebbs / vscode-plantuml

Rich PlantUML support for Visual Studio Code.
MIT License
1.09k stars 156 forks source link

Allow graphviz_dot to be relative to the workspace #340

Open RedX2501 opened 4 years ago

RedX2501 commented 4 years ago

To have the same tools and for easier archiving of the tools we deliver the current necessary tools via git.

To avoid having to set the environment variable GRAPHVIZ_DOT i was looking into the posts here and found these: #289, #205, and #121.

They don't solve the problem when the dot.exe should be relative to the working directory.

plantuml.jar can be given relative to the workpace.

It would be nice if an option was added plantuml.dot that can be given a relative path that will resolve relative to the workspace. Maybe this is already possible with the variable on plantuml.commandArgs in that case how do I do it?

qjebbs commented 3 years ago

No plan about this, but PR is welcome, to support resolving placeholders like {{workspace}} for plantuml.commandArgs could solve your problem.