intellij ide快捷键
2016-06-01 19:21
204 查看
1、文本编辑
删除 ctr + y
复制 ctr + D
2、智能提示
提示 ctr + space
智能提示 ctr + shift + space
完成当前语句 ctr + shift + enter
建议提示为参数 ctr + alt + P
对代码重新排列格式 Ctrl + Alt + L
对imports进行优化 Ctrl + Alt + O
定位到下一个或上一个错误 F2 / Shift + F2
定位文件头 ctr+G (定位到文件行数)
定位文件尾 ctr+G
定位到代码块开始 ctr + [
定位到代码块结束 ctr + ]
回到最近的窗口 F12
回到之前的文件 alt + left
回到之后的文件 alt + right
定位到最后编辑位置 Ctrl + Shift + Backspace
从tool window或其他window切换到文件编辑 esc
关闭最近打开的窗口 shift + esc
查找类 ctr + N
查找文件 Ctrl + Shift + N
符号定位 Ctrl + Alt + Shift + N
查看文件结构 ctrl + F12
最近打开的文件 ctr + E
定位下一个方法 alt + down
定位上一个方法 alt + up
查看方法参数信息 ctr + p
查看方法、类的doc ctr + Q
跳到类或方法的声明 ctr + B
定位到类的父类、接口 ctr + U
查看类的继承结构 ctr + H
查看方法的继承结构 ctr + shift + H
查看类或方法被调用情况 ctr + alt +H
原地参看类、方法的声明 Ctrl + Shift + I
Compile and Run
Ctrl + F9 Make project (compile modifed and dependent)
Ctrl + Shift + F9 Compile selected file, package or module
Alt + Shift + F10 Select configuration and run
Alt + Shift + F9 Select configuration and debug
Shift + F10 Run
Shift + F9 Debug
Ctrl + Shift + F10 Run context configuration from editor
Debugging
F8 Step over
F7 Step into
Shift + F7 Smart step into
Shift + F8 Step out
Alt + F9 Run to cursor
Alt + F8 Evaluate expression
F9 Resume program
Ctrl + F8 Toggle breakpoint
Ctrl + Shift + F8 View breakpoints
删除 ctr + y
复制 ctr + D
2、智能提示
提示 ctr + space
智能提示 ctr + shift + space
完成当前语句 ctr + shift + enter
建议提示为参数 ctr + alt + P
对代码重新排列格式 Ctrl + Alt + L
对imports进行优化 Ctrl + Alt + O
3、位置定位
定位到下一个或上一个错误 F2 / Shift + F2定位文件头 ctr+G (定位到文件行数)
定位文件尾 ctr+G
定位到代码块开始 ctr + [
定位到代码块结束 ctr + ]
回到最近的窗口 F12
回到之前的文件 alt + left
回到之后的文件 alt + right
定位到最后编辑位置 Ctrl + Shift + Backspace
从tool window或其他window切换到文件编辑 esc
关闭最近打开的窗口 shift + esc
4、类、方法、文件定位
查找类 ctr + N查找文件 Ctrl + Shift + N
符号定位 Ctrl + Alt + Shift + N
查看文件结构 ctrl + F12
最近打开的文件 ctr + E
定位下一个方法 alt + down
定位上一个方法 alt + up
查看方法参数信息 ctr + p
查看方法、类的doc ctr + Q
5、类、方法的结构查看、定位
跳到类或方法的声明 ctr + B定位到类的父类、接口 ctr + U
查看类的继承结构 ctr + H
查看方法的继承结构 ctr + shift + H
查看类或方法被调用情况 ctr + alt +H
原地参看类、方法的声明 Ctrl + Shift + I
6、运行与调试
Compile and RunCtrl + F9 Make project (compile modifed and dependent)
Ctrl + Shift + F9 Compile selected file, package or module
Alt + Shift + F10 Select configuration and run
Alt + Shift + F9 Select configuration and debug
Shift + F10 Run
Shift + F9 Debug
Ctrl + Shift + F10 Run context configuration from editor
Debugging
F8 Step over
F7 Step into
Shift + F7 Smart step into
Shift + F8 Step out
Alt + F9 Run to cursor
Alt + F8 Evaluate expression
F9 Resume program
Ctrl + F8 Toggle breakpoint
Ctrl + Shift + F8 View breakpoints
相关文章推荐
- (Caffe)基本类InternalThread(三)
- SAP NetWeaver 7.4 XXE Injection
- 新手选择使用 Linux 桌面的七个注意点
- LeetCode:H-Index II
- 第十三周项目—阅读、修改和运行关于交通工具类的程序(1)
- Hibernate+Spring整合时报错
- 第二次冲刺周期站立会议(6)
- (Caffe)基本类Solver、Caffe、Batch(二)
- Verilog 参数化和状态机
- (Caffe)基本类Blob,Layer,Net(一)
- 【NOIP2013模拟】归途与征程 题解+代码
- 数据库表空间相关
- hbase1.1.3 启动一
- 安卓获取屏幕分辨率
- jQuery查找——parent/parents/parentsUntil/closest
- [置顶] Android引导蒙层,安卓新手引导图,引导图层,支持椭圆,圆形,矩形多种形状,一行代码快速搞定
- c++11之智能指针
- Hadoop总结篇之三---一个Job到底被提交到哪去了
- 6-7 8255 控制交通灯
- Linux Shell系列教程之(七)Shell输出