1)、打开IDEA,选择“file->setting
2)、在setting窗口找到editor目录下的“file and code template”
3)、在上述窗口右侧中选择“includes”,并且新建java文件(或者直接在File Header 里),写入注释作者信息的模板,如:
/**
* @author by XXX
*@date ${DATE}.
*/
1)、打开IDEA,选择“file->setting
2)、在setting窗口找到editor目录下的“file and code template”
3)、在上述窗口右侧中选择“includes”,并且新建java文件(或者直接在File Header 里),写入注释作者信息的模板,如:
/**
* @author by XXX
*@date ${DATE}.
*/