| 功能 | eclipse | idea |
|---|---|---|
| 查找实现类和实现方法 | ctrl + t | ctrl + alt + 鼠标左键 |
| surround with try catch | ctrl + 1 | ctrl + alt + t |
| 自动生成返回类型和对象 | ctrl + 1 | ctrl + alt + v |
| 快速跳到下一个错误处 | ctrl + . | F2 |
| 运行当前文件的main方法 | ctrl + F11 | ctrl + shift + F10 |
| 去掉当前文件无用的import包的快捷键 | ctrl + shift + o | ctrl + alt + o |
| 快速补全当前语句的分号 | 需要安装插件 | ctrl + shift + enter |
| 快速展开目录 | 右方向键 | 右方向键 |