qjebbs/vscode-plantuml

feature request: option to export at same folder of file

alanlivio opened this issue · 2 comments

Today the extension has the options plantuml.diagramsRoot and plantuml.exportOutDir, but none enable export in the same folder of the file.

Therefore, I suggest that change the plantuml.diagramsRoot to accept the value ${fileWorkspaceFolder} (as defined here) while the plantuml.exportOutDir continue with same semantics related to the root.

Hello @alanlivio

In my settings.json files I have the following related lines that I think affect the behavior of this extension:

     "Plantuml.exportoutdir": "."
     "Plantuml.exportsubfolder": false,
     "Plantuml.PreviewFiletype": "SVG",
     "Plantuml.PreviewForcebackGroundwhite": false,

With this configuration the exported files are in the same folder as the corresponding PUML file.

Greetings,
Claudio Salvio

Thank you, @claudio-salvio. Indeed the code below worked.

  "plantuml.exportOutDir": ".",
  "plantuml.exportSubFolder": false,