我在Eclipse中使用Java EE时曾经使用过这个插件。 将逻辑图编写为自编代码的一部分非常方便。
如何在RubyMine中使用它?
答案 0 :(得分:3)
1)在RubyMine中安装此插件
2)在命令行中安装libtool和graphviz
brew install libtool
brew install graphviz
3)打开一些ruby文件并添加此代码进行测试 (使用块注释将UML图与ruby翻译器隔离 = begin = end )
=begin
@startuml
testdot
@enduml
=end
4)转到菜单查看 - >工具Windows - > PlantUML 强>
应该显示
The environment variable GRAPHVIZ_DOT has not been set
Dot executable is /usr/local/bin/dot
Dot version: ...
Installation seems OK. File generation OK
官方website
的另一个例子=begin
@startuml
:First Actor:
:Another actor: as Men2
actor Men3
actor :Last actor: as Men4
@enduml
=end
答案 1 :(得分:0)
在Android Studio中设置PLANT UML:
http://manishpathak-mobile.blogspot.in/2015/10/plant-uml-setup-in-android-studio-mac.html