Windows Vscode Plantuml 环境搭建

  • 下载 安装vscode

  • 下载 安装java,不然无法预览plantuml

    • 下载安装该java安装包后没有设置相关java环境变量就可以预览plantuml了。
  • 下载 安装graphivz,不然预览类图报错如下:

Dot Executable:null
No dot executable found
Cannot find Graphivz. You should try

@startuml
testdot
@enduml

or

java -jar plantuml.jar -testdot
  • vscode插件列表(plantuml相关)
    • Graphviz Preview by EFanZh
    • PlantUML by jebbs