1、下载plantUML插件
plantuml4idea.zip
http://pan.baidu.com/s/1hrNaRoo
2、intellid idea离线安装plantUML插件
file =》 settings =》 plugins =》 install plugin from disk
ok等待安装完成
3、安装完plantUML在使用的时候回一直报错,错误的包含
graphviz关键词,因为我们的电脑没有安装
graphviz绘图工具
接下来安装
graphviz即可
百度
graphviz
进入官网
download
第一次进入会有个东西,读完后,最底下左下角有个agree,点击后可以下载
本地安装一下,重启idea即可
备注:
1、安装graphviz时,需要注意安装的版本,目前经过测试,以下版本可用
2.26.32.282.30.12.342.362.38
2、安装的时候使用默认路径,不要自己改路径,因为插件要求dot.exe需要在c盘默认路径下执行,否则会一直报错,无法执行
具体可以参考官网说明
https://github.com/esteinberg/plantuml4idea
http://plantuml.com/graphviz-dot
转载请注明原文地址: https://ju.6miu.com/read-965401.html