Quick Class Hierarchy View Using UML
IntelliJ IDEA 8.1.1 will support Show Class Hierarchy action that displays class hierarchy of a selected type. Just place the caret at any type in the code editor and press Ctrl+Alt+U.
Comments below can no longer be edited.
tieTYT says:
March 17, 2009There might be a missing key here… This only works for me when i press shift+ctrl+alt+u.
Stephan Anft says:
March 18, 2009I think there is missing more than just a key … because shift+ctrl+alt+u is not the function mentioned. The “show class hierarchy” action displays the UML diagram as a popup and not in a new editor tab as shift+ctrl+alt+u is doing.
Is this function implemented in IDEA 8.1?
Regards,
Stephan
Konstantin Bulenkov says:
March 18, 2009Sorry, it was a misprint. Actually, this feature will be in 8.1.1 and it exists for a long time in Maia’s EAPs.
Ben says:
July 4, 2009Cool, are you going to put this in Resharper too?
Thomas Eilermann says:
July 21, 2009Is it possible to use the uml feature of intelli-j for flex development, too?
Konstantin Bulenkov says:
July 22, 2009Thomas, multi-language UML support is coming. I believe it will be in Maia very soon. For Flex, PHP, JavaScript and maybe for other languages
Stefan Endrullis says:
July 22, 2009I just tested the new feature with the latest EAP release of Intellij. It’s quite useful since you can see the whole class hierarchy at a glance. But I’m wondering why the popup takes 1 second to appear after pressing ctrl+alt+U. Is that normal?
@Scala users: It seems that the feature also works for Scala (at least a bit). The Scala classes are already drawn but the arrows between the classes are missing.
Konstantin Bulenkov says:
July 22, 2009It’s time necessary to build UI and relationships. I’ll do my best to improve performance in next EAPs.
Ted says:
September 12, 2009Is it possible to show the interaction between cooperating classes ?
Dragisa Krsmanovic says:
October 14, 2009How is this better than Code Navigator http://plugins.intellij.net/plugin/?id=3202 ?
Sean says:
October 16, 2009I’m also wondering… 😉
Robert Lee says:
July 23, 2014Is it possible to show a diagram of a class and all its implementations (rather than its parents)?
I seem to have to add each implementing class one by one