Eclipse使用
alt + /
ctrl + alt + 下方向键 在下方复制当前行
ctl + e 将一个方法名创建成方法
alt + shift + s + c 空参构造函数
alt + shift + s + o 有参构造函数
alt + shift + s + r getter 和 setter 函数
alt + shift + m 把一堆代码转化成一个方法函数
不同项目下如何使用另一个项目的类?
先将另一个项目导出成jar文件,然后再将jar文件复制到当前的项目中,再在jar system library中选择右键-build path -add to build path
-
打开eclipse ,选择 Help 选择Install New Software 点击 Add
-
输入http://eclipse-color-theme.github.com/update,选中Eclipse Theme Color,点击Next ,点击Next ,点击 I accept,点击Finish即可安装eclipse color themes.
3. 重启eclipse.
4. 点击ADT,选择 打开Preferences ,选择 General ,选择 Appearance ,选择 Color Theme,选择喜欢的配色方案 ,点击 Apply ,点击 OK即可。