I stronglly recommend to use below plugin. I don't intend to update this plugin.
Visual Studio Code PlantUML plugin.
PlantUML is here.
-PlantUML image previewer.
PlantUML Preview
: Start PlantUML preview.PlantUML Export ***(*** is format type)
: Export png, svg, eps, etc... to same directory.
You must set the following environment variables for the extension to work:
JAVA_HOME
: Java SDK installed directory (must have abin
sub-directory)- Windows example:
C:\Program Files\Java\jdk1.8.0_101)
- macOS example:
/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home
PLANTUML_JAR
: Path for theplantuml.jar
file- Windows example:
C:\Users\UserName\bin\plantuml\plantuml.jar
- macOS example:
/usr/local/Cellar/plantuml/8048/libexec/plantuml.jar
If you want to use PlantUML's functionality that requires GraphViz, you need to set the GRAPHVIZ_DOT
environment variable, as explained here:
GRAPHVIZ_DOT
: Path for thedot
executable binary- Windows example:
C:\Program Files\Graphviz\bin\dot.exe
- macOS example:
/usr/local/Cellar/graphviz/2.38.0_1/bin/dot
After setting these environment variables you need to restart VSCode for the extension to work.
- Execute preview process all text file.
- Support plantuml file type. #24
- Improvement scroll.
- Support restructuredtext.
- Fix typo
- Bug fix.
- Change setting method. PLANTUML_HOME -> PLANTUML_JAR
- Revert encoding setting method.
- Not lost focus when shown preview window.
- Change encoding setting method. Change -chaset to -Dfile.encoding.
- Refactor
- Change uml background color to white.
- Refactor
- Support many export format.
- No use TEMP env value.
- Support relative path include.
- Bugfix: Crush when init process(too...).
- Bugfix: Crush when init process.
- Correspondence to unsaved file.
- Realtime preview.
- Remove .exe extensions from java command. Maybe support Mac & Linux.
- More error message improvement.
- Error message improvement.
- Update preview window when changed active editor.
- Export png image.
- Hide PlantUML window.
- Support filename extension other than '.txt'
- Set encoding utf-8
- First release.