IDEA快捷键(二)

查看文档说明(quick documentation)

ctrl+q


 收起所有的方法(collapse all)

ctrl+shift+减号(-)


打开所有方法(expand all)

ctrl+shift+加号(+)


打开代码所在硬盘文件(show in explorer)

没有,需要手动添加


生成try-catch等(surround with)

没有,需要手动添加


局部变量抽取为成员变量(introduce field)

没有,需要手动添加


查找/替换(当前)

ctrl+f


查找全局

ctrl+shift+f


查找文件

ctrl+shift+n


查看类的继承结构图(show UML Diagram)

ctrl+shift+alt+u


查看方法的多层重写结构(method hierarchy)

ctrl+shift+h


添加到 收藏(add to favorites)

alt+shift+f


抽取方法(Extract Method)

没有,需要手动添加


打开最近修改的文件(Recently Files)

没有,需要手动添加


关闭当前打开的代码栏(close)

关闭打开的所有代码栏(close all)

快速搜索类中的错误(next highlighted error)

选择要粘贴的内容(show in explorer)

查找方法在哪里被调用(Call Hierarchy)

猜你喜欢

转载自blog.csdn.net/weixin_37645838/article/details/82219664