Intellij IDEA设置头文件@AUTHOR注释
作者:互联网
第一步、File -> Settings
第二步、Editor -> File and Code Templates -> Includes -> File Header
提供三个模板供大家使用
模板一:
/**
* @Author ${USER}
* @create ${DATE} ${TIME}
*/
模板二:
/**
* Created by ${USER} on ${DATE}.
*/
模板三:
/**
* Created by IntelliJ IDEA.
* User: ${USER}
* Date: ${DATE}
*/
模板四
/**
* Copyright (C), 2017-${YEAR}, xxx
* <author> <time> <version> <desc>
* ${USER} ${DATE} ${TIME} since 1.0.0 ${DESCRIPTION}
*/
模板五
/**
* Copyright (C), 2017-${YEAR}, 伏都哥哥
* Author: ${USER}
* Date: ${DATE} ${TIME}
* FileName: ${NAME}
* Description: ${DESCRIPTION}
*/
————————————————
原文链接:https://blog.csdn.net/engerla/article/details/84846463
标签:头文件,Intellij,Copyright,AUTHOR,USER,File,TIME,DATE,模板 来源: https://www.cnblogs.com/w852894903/p/15983641.html