如何生成类图(UML)的机器人工作室 [英] How to generate Class Diagram (UML) on android studio
问题描述
我尝试搜索,发现这 链接 ,但<大骨节病>控制骨节病> + <大骨节病>替代骨节病> + <大骨节病>移骨节病> + <大骨节病>ð骨节病>不起作用。
I've try to search and found this link, but Ctrl+Alt+Shift+D doesn't work.
我还用找操作<大骨节病>控制骨节病> + <大骨节病>移骨节病> + <大骨节病> A 骨节病>查找有关图和UML的行动,但一无所获。
I also use find Action Ctrl+Shift+A to find action about diagram and uml but found nothing.
我也 搜索的UML插件 , 但大多没有用的IntelliJ的新版本(我没尝试,我刚才读的注释)工作。
I also search for the uml plugin, but most of them didn't work with new version of intelliJ (I din't try it I just read the comment).
推荐答案
我发现了一个免费的撑着,可以生成类图与Android工作室。 这就是所谓的 SimpleUML
I found a free pluggin that can generate class diagrams with android studio. It's called SimpleUML.
在Mac:转到 Android的工作室
- > preferences
- > 插件
On Mac: go to Android Studio
-> Preferences
-> Plugins
在Windows:到 Android的工作室
- > 文件
- > 设置
- > 插件
On Windows: go to Android Studio
-> File
-> Settings
-> Plugins
点击浏览库...
并搜索 SimpleUMLCE
(CE指社区版,这是Android的工作室是基于)。
Click on Browse repositories...
and search for SimpleUMLCE
(CE means Community Edition, this is what android studio is based on).
安装它,重新启动,那么你可以做一个右键单击包含要可视化的类文件夹,然后选择添加到simpleUML图
。
Install it, restart, then you can do a right click on the folder containing the classes you want to visualize, and select Add to simpleUML Diagram
.
就是这样,你有你喜欢的类图从code产生的!
That's it, you have you fancy class diagram generated from your code!
这篇关于如何生成类图(UML)的机器人工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!