如何在IntelliJ IDEA中显示类的所有父类和子类? [英] How to show all parents and subclasses of a class in IntelliJ IDEA?

查看:559
本文介绍了如何在IntelliJ IDEA中显示类的所有父类和子类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Eclipse中编辑Java类时,当我的光标位于类变量上时,我可以执行 Ctrl + T 以显示一个显示全部的弹出窗口它的父母和子类。 IntelliJ中的等价物是什么?

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?

示例:

Use|r user = new User();

管道是我的光标。

推荐答案

导航|类型层次结构 Ctrl + H 将显示类似的信息,但在Panel中。您可以浮动取消固定面板,只有在您使用键盘快捷键时它才会出现在固定的显示位置。

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.

这篇关于如何在IntelliJ IDEA中显示类的所有父类和子类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆