IDEA 实用快捷键

IDEA 实用快捷键
1.执行(run) altr2.提示补全 (Class Name Completion) alt/3.单选注释 ctrl /4.多行注释 ctrl shift /5.向下复制一行 (Duplicate Lines) ctrlaltdown6.删除一行或选中行 (delete line) ctrld7.向下移动行(move statement down) altdown8.向上移动行(move statement up) altup9.向下开始新的一行(start new line) shiftenter10.向上开始新的一行 (Start New Line before current) ctrlshiftenter11.如何查看源码 (class) ctrl 选中指定的结构 或 ctrl shift t12.万能解错/生成返回值变量 alt enter13.退回到前一个编辑的页面 (back) alt left14.进入到下一个编辑的页面(针对于上面那条来说的) (forward) alt right15.查看类继承关系(type hierarchy) F416.格式化代码(reformat code) ctrlshiftF17.提示方法参数类型(Parameter Info) ctrlalt/18.复制代码 ctrl c19.撤销 ctrl z20.反撤销 ctrl y21.剪切 ctrl x22.粘贴 ctrl v23.保存 ctrl s24.全选 ctrl a25.选中数行整体往后移动 tab26.选中数行整体往前移动 shift tab27.查看类的结构类似于 eclipse 的 outline ctrlo28.修改变量名与方法名(rename) altshiftr29.大写转小写/小写转大写(toggle case) ctrlshifty30.生成构造/get/set/toString alt shift s31.查看文档说明(quick documentation) F232.收起所有的方法(collapse all) alt shift c33.打开所有方法(expand all) altshiftx34.打开代码所在硬盘文件夹(show in explorer) ctrlshiftx35.生成 try-catch 等(surround with) altshiftz36.局部变量抽取为成员变量(introduce field) altshiftF37.查找/替换(当前) ctrlf38.查找(全局) ctrlh39.查找文件 double Shift40.抽取方法(Extract Method) altshiftm41.全屏显示代码(close active tab) ctrl m42.打开 Module setting 窗口(Recently Changed Files) ctrlE43.关闭当前打开的代码栏(close) ctrl w44.关闭打开的所有代码栏(close all) ctrl shift w45.快速搜索类中的错误(next highlighted error) ctrl shift Q46.选择要粘贴的内容(Show in Explorer) ctrlshiftV47.查找方法在哪里被调用(Call Hierarchy) ctrlshiftH48.查看方法的多层重写结构(method hierarchy) ctrlalth