elipse new class add comments

来源:互联网 发布:宜兴淘宝照片拍摄 编辑:程序博客网 时间:2024/06/04 00:54

1.myself add:

/**

*@author:wk

*@time:${date} ${time}

*@class comments:

*/

一.Chinese use:

选菜单
windows-->preference
Java-->Code Style-->Code Templates
code-->new Java files
选中点编辑
${filecomment}
${package_declaration}
/**
* @author 作者姓名 E-mail: email地址
* @version 创建时间:${date} ${time}
* 类说明
*/
${typecomment}
${type_declaration}

二.Other use:

${filecomment}
${package_declaration}
/**
 * @author : ${user}
 * @fileName : ${package_name}.${file_name}
 *
 *
 *
 * date | author | version |  
 * ${date} | ${user} | 1.0 |
 *
 * @describe :
 *
 * ALL RIGHTS RESERVED,COPYRIGHT(C) FCH LIMITED ${year}
*/
${typecomment}
${type_declaration}

二.Other use_two:

选菜单
windows-->preference
Java-->Code Style-->Code Templates
code-->new Java files
选中点编辑
${filecomment}
${package_declaration}
/**
* @author 作者姓名 E-mail: email地址
* @version 创建时间:${date} ${time}
* 类说明
*/
${typecomment}
${type_declaration}

三.Other use:

${filecomment}
${package_declaration}
/**
 * @author : ${user}
 * @fileName : ${package_name}.${file_name}
 *
 *
 *
 * date | author | version |  
 * ${date} | ${user} | 1.0 |
 *
 * @describe :
 *
 * ALL RIGHTS RESERVED,COPYRIGHT(C) FCH LIMITED ${year}
*/
${typecomment}
${type_declaration}

 

1 0