eclipse新 java 文件时自动生成注释
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相关内容: