2

I'm using Plant UML in VS-Code to generate diagrams: https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml

I want to edit the global default extension setting:

  • Set input folder for the .puml files and ...
  • the output folder for the generated .png files

Question: I can't find the config file with the Export Settings for PlantUML in VS Code. Where could I find it, or how shall it be set up correctly to work with the IDE?

Impulsleistung
  • 177
  • 3
  • 13

2 Answers2

3

You could create a directory .vscode in the root directory of your project and put a file called 'settings.json' with these settings

{
    "plantuml.commandArgs": [],
    "plantuml.diagramsRoot": "../docs/diagrams/src",
    "plantuml.exportOutDir": "../docs/diagrams/out"

}

See: https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml Go to the section called "Include Files Search Logic"

2

On vscode

  1. Go to File --> Preferences --> Settings
  2. Search for plantuml and you will be presented by screen below
  3. Change export format
  4. Set output folder, default is out
  5. uncheck the box if you don't want subfolder created, check if you want subfolder
  6. Test

enter image description here

NoloMokgosi
  • 1,678
  • 16
  • 10