1、打开一个类的Diagram视图:快捷键:shift+alt+commad+U

mac idea快捷键

2、查找并添加类的子类/父类:alt+command+B / alt+command+P

mac idea快捷键

3、类之间的关联关系:show dependencies

mac idea快捷键

得到如下:

mac idea快捷键

4、添加类到该digrrams视图中:快捷键 space(空格键) 效果如下:

mac idea快捷键

mac idea快捷键

5、查看源码:快捷键 command+方向向下箭头:

mac idea快捷键

6、查看一个类的子类:control+H

mac idea快捷键

7、在Intellij idea中快速重写父类方法

鼠标左击以确定代码插入的位置,使用快捷键CTRL+O,会弹出窗口让选择某个方法,例如:

mac idea快捷键

参考文献:https://blog.csdn.net/zhangle1hao/article/details/78804600

相关文章: