“UML Support” Plugin for IntelliJ

2020-05-15 14:49发布

问题:

I must be missing something. I am reading this article and it says that there is a plugin called "UML Support" which is enabled by default. I didn't have it, so I went to Preferences > Plugins and see no such plugin. Searching didn't show it as well.

This page which is a sub-page of the previous one says I should be able to press CMDShiftOptionU and a diagram will come up. That doesn't work, and I also don't see a Diagram > Show Diagram on any context menu for my files in the project.

How can I see UML Diagrams of my codebase? It looks like it should be straightforward but I don't see any of these in Intellij 14.1.4

回答1:

You can install the free plugin - Code Iris.


I use PlantUML for creating diagrams

Other tools of this type in the IntelliJ IDEA are paid.


I chose a more powerful alternative:
In Netbeans - easyUML
In Eclipse - ObjectAid, Papyrus, Eclipse Modeling Tools



回答2:

If you want to install PlantUML plugin to JetBrains product(IntelliJ, Webstrom, Pycharm), you need to

  1. download plugins from official website in .zip format: https://plugins.jetbrains.com/plugin/7017-plantuml-integration
  2. go to "File -> Settings -> Plugins" and choose "install plugin from disk"
  3. choose the downloaded file and select Restart (WebStorm etc.)

After the installation you could open your UML view from "View -> Tool Windows -> PlantUML"



回答3:

Only the ultimate version has the 'UML Support' plugin. This plugin is not free.

https://www.jetbrains.com/help/idea/class-diagram.html