一、在工具栏找到File=>settings=>Editor=>File and Code Templates
二、选择右边的File Header,在编辑框中添加自定义信息,例如:
三、然后点击应用,保存就OK啦!
Idea中在代码顶部添加自定义作者和时间
原文:https://www.cnblogs.com/HelloBigTable/p/10261145.html