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

前端 未结 15 1993
没有蜡笔的小新
没有蜡笔的小新 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:58

    Whilst Eclipse includes the type hierarchy and class structure (methods, fields etc.) in a single view, IntelliJ splits these up: In addition to the CTRL+H (or ALT+8) "Type Hierarchy" view, the other relevant IntelliJ window is called "Structure" and can be invoked via ALT+7 (Structure Tool Window) or CTRL+F12(Structure popup).

    (Not a direct answer to the exact question posted but would expect others from an Eclipse background may arrive here having googled for "intellij type hierarchy", as I did.)

提交回复
热议问题