打开IDEA,选择“file->setting”。 在setting窗口找到editor目录下的“file and code template”。 在上述窗口右侧中选择“includes”,并且新建java文件,写入注释作者信息的模板。