MyEclipse设置默认注释的格式

1.选菜单

windows-->preference

Java-->CodeStyle-->CodeTemplates

code-->new Java files

2.选中点编辑

${package_declaration}

/**

@project:${project_name}

@class:${file_name}

@author:XXXXE-mail:[email protected]

@versionxtjy

@date:${date}${time}

*/

${typecomment}

${type_declaration}

3.apply

相关推荐