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

相关文章:

  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2021-09-14
猜你喜欢
  • 2021-11-11
  • 2022-01-20
  • 2021-12-18
  • 2021-11-15
  • 2021-09-01
  • 2022-02-03
相关资源
相似解决方案