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

前端 未结 15 2003
没有蜡笔的小新
没有蜡笔的小新 2020-12-07 14:35

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 subc

15条回答
  •  温柔的废话
    2020-12-07 14:56

    Intellij does - in contrast to Eclipse - distinguish between type hierachies and implementation classes. I'm still undecided whether this is a good thing or not (just switched over from Eclipse to Intellij myself)

    On a Mac Intellij 14

    • Ctrl + H will bring up the type hierarchy showing you sub- and supertypes
    • Cmd + Alt + B will show you all implementing classes and subclasses of the interface/class you're interested in

提交回复
热议问题