RubyMine 7.0.1 Web Help

For the modules under version control, you can usually view the list of changed files in the Changes tool window. If you want to evaluate how your changes affect the model, use UML Class diagram. This view presents the complete picture of changes, including relationships between the modified classes.

For this purpose, RubyMine provides the action Show changed classes, which is available from the editor, Project tool window, and the Local tab of the Changes tool window.

Moreover, RubyMine helps you analyze how the changes affect a model across revisions, and provides the action Compare all classes from revision on UML.

Changes in Class diagram are color-coded:

  • Green for added elements.
  • Gray for deleted elements.
  • Blue for modified elements.

umlChangesDiagram.png

To view changes in UML class diagram
  1. In the Local tab of the Changes tool window, select the desired changelist from the suggested popup:

    uml_select_changelist

    Note that if there is only one changelist, the popup won;t show up.

  2. Do one of the following:
    • In the toolbar of the Local tab, click icon_UML.png, or press Ctrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DShift+Alt+⌘+DShift Alt ⌘ DShift Alt ⌘ DShift Alt ⌘ DShift Alt ⌘ D.
    • On the context menu of the editor or the Project tool window, choose Diagrams | Show Changes, or press Ctrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DShift+Alt+⌘+DShift Alt ⌘ DShift Alt ⌘ DShift Alt ⌘ DShift Alt ⌘ D.

    ruby_umlChanges

    The diagram opens in a pop-up window. Double-click a node to view changes in a Differences viewer.

To view changes in revisions as UML class diagram
  1. In the History tab of the Version Control tool window, select the desired revision.
  2. Click icon_UML.png, or press Ctrl+Shift+DCtrl+Shift+DCtrl+Shift+DCtrl+Shift+DCtrl+Shift+DCtrl+Shift+DCtrl+Shift+DCtrl+Shift+DShift+⌘+DShift ⌘ DShift ⌘ DShift ⌘ DShift ⌘ D. The diagram opens in a pop-up window.

See Also

Procedures:

Reference:

Web Resources: