PhpStorm 2016.1 Help

Viewing Diagram

In this section:

Prerequisites

Before you start working with UML diagrams, make sure that UML Support plugin is enabled. The plugin is bundled with PhpStorm and activated by default. If it is not, enable the plugin as described in the section Enabling and Disabling Plugins.

Basics

You can invoke UML class diagram from different places:

  • From the various tool windows.
  • From the Navigation bar.
  • From the Structure tool window.

PhpStorm displays UML diagrams in two modes:

  • In a pop-up window.
  • In a separate editor tab.

Opening a UML Class Diagram

  1. Select the desired item.
  2. Do one of the following:
    • On the context menu of the selection, click Diagram, and on the submenu, select the way you want to view the model: Show Diagram or Show Diagram Pop-up.
    • Press Ctrl+Shift+Alt+U or Ctrl+Alt+U.

The diagram is displayed in the editor tab or in the pop-up window:

php_showClassDiagram

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.

See Also

Language and Framework-Specific Guidelines:

Last modified: 12 July 2016