第一步、File -> Settings
第二步、Editor -> File and Code Templates -> Includes -> File Header
提供四个模板供大家使用
模板一:
/**
* User:${USER}
* Date:${YEAR}-${MONTH}-${DAY}
* Time:${TIME}
*/
模板二:
/**
* @Author ${USER}
* @create ${DATE} ${TIME}
*/
模板三:
/**
* Created by ${USER} on ${DATE}.
*/
模板四:
/**
* Created by IntelliJ IDEA.
* User: ${USER}
* Date: ${DATE}
*/