Eclipse设置默认注释的格式示例

Eclipse设置默认注释的格式

选菜单

windows-->preference

Java-->Code Style-->Code Templates

code-->new Java files

选中点编辑

${filecomment}

${package_declaration}

/**

* @author 作者姓名 E-mail: email地址

* @version 创建时间:${date} ${time}

* 类说明

*/

${typecomment}

${type_declaration}

评论

暂无评论