注释模版
1、类模版
/**
* @描述: ${todo}
* @文件名:${file_name}
* @项目名称:${project_name}
* @包名称 ${package_name}
* @类名称: ${type_name}
* @作者 ${user}
* @时间 ${date}
*/
/**
* @Description: ${todo}
* @FileName:${file_name}
* @ProjectName:${project_name}
* @PackageName ${package_name}
* @ClassName: ${type_name}
* @author ${user}
* @date ${date}
*/
2、方法模版
/**
* @描述: ${todo}
* @文件名:${file_name}
* @方法名称: ${enclosing_method}
* @项目名称:${project_name}
* @包名称 ${package_name}
* @作者 ${user}
* @时间 ${date}
* ${tags}
*/
/**
* @Description: ${todo}
* @FileName:${file_name}
* @MethodName: ${enclosing_method}
* @ProjectName:${project_name}
* @PackageName ${package_name}
* @author ${user}
* @date ${date}
* ${tags}
*/
3、设置自动注释的步骤:
右侧comments是在你添加注释的时候,补充注释模版内容