Intellij IDEA--常用快捷键,eclipse比对
其他
2019-04-24 20:47:35
阅读次数: 0
常用快捷键
作用 |
eclipse |
IJ IDEA |
内容补全(content assist) |
alt + / |
ctrl + space (会自动提示) |
- |
|
|
撤销 (Undo) |
ctrl + z |
ctrl + z |
撤回 (Redo) |
ctrl + y |
ctrl + shift + z |
- |
|
|
转大写 |
ctrl + shift + x |
ctrl + shift + u |
转小写 |
ctrl + shift + y |
ctrl + shift + u |
- |
|
|
删除整行 |
ctrl + d |
ctrl + x/y x包含剪切效果 |
整行上移 |
alt + up |
ctrl + shift + up |
整行下移 |
alt + down |
ctrl + shift + down |
切换浏览位置(前) |
alt + left |
ctrl + alt + left (这个和操作系统的屏幕倒转冲突) |
切换浏览位置(后) |
alt + right |
ctrl + alt + right(这个和操作系统的屏幕倒转冲突) |
复制行 |
ctrl + alt + down (ctrl + shift + d) |
ctrl + d |
- |
|
|
格式化 |
ctrl + shift + f |
ctrl + alt + l |
包引入 |
ctrl + shift + o |
ctrl + enter (ctrl + alt + o 是对导入的包进行优化) |
- |
|
|
保存 |
ctrl + s |
ctrl + s |
- |
|
|
进入方法 |
F3 |
|
打开子类实现方法 |
ctrl + t |
ctrl + alt + b 进到最子的方法 |
显示类结构图 |
|
ctrl + h |
- |
|
|
sources快速搜索 |
ctrl + shift + r |
ctrl + n |
type快速搜索 |
ctrl + shift + t |
ctrl + n |
- |
|
|
查找当前方法/变量调用记录 |
ctrl + alt + h |
ctrl + b |
- |
|
|
debug进入方法 |
F5 |
F7 |
debug下一步 |
F6 |
F9 |
debug下一个点/结束 |
F8 |
F8 |
- |
|
|
重命名 |
F2 |
|
- |
|
|
呼出模板 |
|
ctrl + j (fori/sout/psvm,System.out、main方法等boilerplate样板代码) |
常用函数;快速生成getter/setter ; 接口实现 |
|
alt + insert (生成构造函数、toString、getter/setter、重写父类方法) |
- |
|
|
查询tab类 |
|
shift + shift |
- |
|
|
选中代码 |
|
ctrl + w |
- |
|
|
代码加try…catch…块 |
鼠标 |
选中代码块 ctrl + alt + t |
转载自blog.csdn.net/yanbin0830/article/details/89493623