IDEA自动添加作者信息和相关注释 File——>Settings——>Editor——>File and Code Templates——>File Header 右边输入 /** *@ClassName: ${NAME} *@Description: TODO *@Author: 作者姓名 *@date: ${DATE} ${TIME} *@Version: V1.0 */ 3.点OK