效果: 设置方法: 1. 找到File–>点击Settings 2.找到Editor–>点击File and Code Templates 3.点击Includes 4.点击File Header 在右边空白处输入 /** * @author :作者名字 * @date : ${DATE} ${TIME} */ 5.点击OK -->然后点击Apply即可