Eclipse在创建新类时自动生成注释

Eclipse在创建新类时自动生成注释

简单,步骤如下
windows-->preference
   
    Java-->Code Style-->Code Templates
   
    code-->new Java files
   
    编辑它
   
    ${filecomment}
   
    ${package_declaration}
   
    /**
   
    * @author 作者 E-mail:
   
    * @version 创建时间:${date} ${time}
   
    */
   
    ${typecomment}
   
    ${type_declaration}

猜你喜欢

转载自fsh430623.iteye.com/blog/1682470