-
自动生成内容的模板配置
- 设置位置:打开菜单:window-->preferences-->java-->editor-->templates
- 设置位置:打开菜单:window-->preferences-->java-->editor-->templates
-
注释模板配置(类,字段,方法),alt+shift+j内容会随之修改
-
打开菜单:window-->preferences-->java-->codestyle-->code template
1. -
创建类时,勾选自动生成注释,会有如下 效果
-
-
代码风格样式
当我们使用快捷键CTRL+SHIFT+F的时候,eclipse就会帮我们格式化代码,使代码更符合规范,更整齐。修改样式模板:window-->preferences-->java-->codestyle-->formator-->右边面板的edit按钮