Windows->Preference->Java->Code Style->Code Templates->Code->New Java file->Edit
原来的模板:
${filecomment}
${package_declaration}
${typecomment}
${type_declaration}
修改后:
${filecomment}
${package_declaration}
/**
* @author Xing,Ming
* @version ${date} ${time}
*/
${typecomment}
${type_declaration}
记录了作者,文件生成时间,当时想加其它的自己加
Eclipse相关内容:
- 迎接Eclipse 3.5(Galileo):新特性
- 创建和打包Eclipse源代码插件
- 在Eclipse中使用findbug
- Google发布Eclipse插件
- myeclipse的auto-Activation修改方法