Search code examples
javaintellij-idea

How to show all parents and subclasses of a class in IntelliJ IDEA?


When I'm editing a Java class in Eclipse, when my cursor is over a class variable, I can do Ctrl+T to have a popup that shows all its parents and subclasses. What is the equivalent in IntelliJ?

Example:

Use|r user = new User();

The pipe is my cursor.


Solution

  • Navigate | Type Hierarchy Ctrl+H will show similar information, however in the Panel. You can Float and Unpin the Panel so that it appears on the fixed display position only when you use the keyboard shortcut.