`
serenity
  • 浏览: 61054 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

ecplise自动生成类头部注释信息

阅读更多

在程序编写中,有些情况会要求在类头部表示author,date,version等信息。

window -> preference -> codestyple -> codetemplate,在codetemplate右边的详细中有一个code选项,点开选择 newjava files,将里面的内容编辑成你想要的。

例如:  /**

* @System XXXX

* @company XXXX

* @author XXX

* @date ${date} ${time}

* @version 1.0

*/


${filecomment}

${package_declaration}


${typecomment}

${type_declaration}

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics