链接: https://blog.csdn.net/engerla/article/details/84846463

第一步、File -> Settings

第二步、Editor -> File and Code Templates -> Includes -> File Header

提供两个模板

供大家使用模板一:

/**
 * @author ${USER}
 * @create ${DATE} ${TIME}
 */

模板二:

/**
 * Created by ${USER} on ${DATE}.
 */