IntelliJ IDEA添加Class自动生成@author@date模板代码

#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")

/**
 * @author Dongfanger
 * @date ${DATE}
 */
 
public class ${NAME} {
}

image-20200317111452254

@author,首字母应小写,@Author不规范。
@date,javadoc没有,可以根据提示Add date to custom tags添加。
image-20200317111452254

也可以在Preferences中添加/查看:
image-20200317111452254

原文地址:https://www.cnblogs.com/df888/p/12155832.html