File–Settings–Editor–File and Code Templates 到右边面板,

Includes–File Header

右下角有各种显示内容使用方法,

其中:

${USER}   current user system login name
用的是电脑的用户名,如果你不想用电脑的用户名,也可以直接写固定值Android Studio:创建类时,添加作者名和日期等

相关文章: