前言:
很多时候在开发环境中,程序员开发的功能需要备注自己的一些相关信息,如:作者、日期、邮箱等
1、点击file,找到Switch Workspace,点击other。
2、按照步骤操作:
3、找到编辑界面
4、将下面内容复制到Pattern中,${user}可以替换为自己的名字
${filecomment}
${package_declaration}
/**
* @author ${user}
*
* ${date}
*/
${typecomment}
${type_declaration}
5、点击确定、应用