百味皆苦 java后端开发攻城狮

IntelliJ-IDEA

2019-01-14
百味皆苦

快捷键

执行(run) alt+r
提示补全 (Class Name Completion) alt+/
单行 注释 ctrl + /
多行注释 ctrl + shift + /
向下复制一行 (Duplicate Lines) ctrl+alt+down
删除一行或选中行 (delete line) ctrl+d
向下移动行(move statement down) alt+down
向上移动行(move statement up) alt+up
向下开始新的一行(start new line) shift+enter
向上开始新的一行 (Start New Line before current) ctrl+shift+enter
如何查看源码 (class) ctrl + 选中指定的结构 或ctrl + shift + t
万能解错/ 生成返回值变量 alt + enter
退回到前一个编辑的页面 (back) alt + left
进入到下一个编辑的页面 alt + right
查看继承关系(type hierarchy) F4
格式化代码(reformat code) ctrl+shift+F
提示方法参数类型(Parameter Info) ctrl+alt+/
复制代码 ctrl + c
撤销 ctrl + z
反撤销 ctrl + y
剪切 ctrl + x
粘贴 ctrl + v
保存 ctrl + s
全选 ctrl + a
选中数行,整体往后移动 tab
选中数行,整体往前移动 shift + tab
查看类的结构 ctrl+o
修改变量名与方法名(rename) alt+shift+r
大写转小写/ 小写转大写(toggle case) ctrl+shift+y
生成构造 器/get/set/toString alt +shift + s
查看文档说明 F2
收起所有的方法 alt + shift + c
打开所有方法 alt+shift+x
打开代码所在硬盘文件夹 ctrl+shift+x
生成 try-catch 等 alt+shift+z
局部变量抽取为成员变量 alt+shift+f
查找/ 替换( 当前) ctrl+f
查找( 全局) ctrl+h
查找文件 double Shift
查看类的继承结构图 ctrl + shift + u
查看方法的多层重写结构 ctrl+alt+h
抽取方法 alt+shift+m
打开 最近 修改的文件 ctrl+E
关闭当前打开的代码栏 ctrl + w
关闭打开的所有代码栏 ctrl + shift + w
快速搜索类中的错误 ctrl + shift + q
查找方法在哪里被调用 ctrl+shift+h
自动跳下一行 ctrl+ shift+ enter
跳出括号 shift+)
跳到行尾 end
跳到行首 home

上一篇 十二星座

下一篇 HTML

Comments

Content