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相关内容:

相关文章:

  • 2021-07-21
  • 2022-12-23
  • 2021-08-01
  • 2021-10-14
  • 2021-09-28
  • 2021-11-01
  • 2022-01-24
  • 2021-06-01
猜你喜欢
  • 2022-12-23
  • 2021-06-15
  • 2021-07-26
  • 2022-01-05
  • 2022-02-15
  • 2021-07-04
  • 2021-09-28
相关资源
相似解决方案