Eclipse中的常用快捷键
默认的代码提示:alt+/
当前行上下移动:alt + ↑ / ↓
删除一行:ctrl + d
打开类:ctrl + 鼠标左键
查找特定类:ctrl + h
查找并打开类:ctrl + shift + t
快速对齐:ctrl + shift + f
快速引包:ctrl + shift + o
保存全部文件:ctrl + shift + s
运行JUnit:shift + alt + x,t (按住前三个键,再点击t键)
source的快捷键是:alt + shift + s
source中常用的功能:
创建getter,setter方法:alt + shift + s,r
创建构造方法:alt + shift + s,o
重写toString方法:alt + shift + s,s
alt + shift + s + 下红色的字母,就是对应的功能
打开之后的效果: