In this section:
Before you start working with UML diagrams, make sure that UML Support plugin is enabled. The plugin is bundled with IntelliJ IDEA and activated by default. If it is not, enable the plugin as described in the section Enabling and Disabling Plugins.
You can invoke UML class diagram from different places:
- From the various tool windows.
- From the Navigation bar.
- From the Structure tool window.
- From the editor.
IntelliJ IDEA displays UML diagrams in two modes:
Opening a UML Class Diagram
- Select the desired item, or open it in the editor.
- Do one of the following:
The diagram is displayed in the editor tab or in the pop-up window:
Tips and Tricks
- You can open a UML class diagram without using your pointing device. Consider such a workflow: press Alt+Home, then press Ctrl+Alt+U.
- It is possible to view a UML class diagram of a Java package. Just select a Java package in the Project tool window, and press Ctrl+Alt+U: