RubyMine 7.0.1 Web Help

In this section:

Basics

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.

RubyMine displays UML diagrams in two modes:

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

RubyMine makes is possible to choose diagram type:

  • Ruby class diagram
  • Gem dependency diagram
  • Rails model dependency diagram (for the Rails projects).

Opening diagram

To open a UML class diagram
  1. Select the desired item, or open it in the editor.
  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+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UShift+Alt+⌘+UShift Alt ⌘ UShift Alt ⌘ UShift Alt ⌘ UShift Alt ⌘ U or Ctrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UAlt+⌘+UAlt ⌘ UAlt ⌘ UAlt ⌘ UAlt ⌘ U.
  3. From the pop-up list, choose the diagram type:

    rm_select_diagram_type

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

ruby_umlClassDiagram

Tip

You can open UML class diagram without using your pointing device. Consider such workflow: press Alt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+Home⌘ Up or Alt HomeAlt HomeAlt ⌘ BAlt Home, then press Ctrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UAlt+⌘+UAlt ⌘ UAlt ⌘ UAlt ⌘ UAlt ⌘ U.

See Also

Language and Framework-Specific Guidelines:

Reference:

Web Resources: