1、Ctrl+Alt+s==>进入settings设置,或者左上角File-->settings

IDEA添加作者和时间

2、找到Editor-->File and Code Templates-->Includes--File Header

IDEA添加作者和时间

3、新建一个类,测试一下,如下图

IDEA添加作者和时间

相关文章:

  • 2021-12-12
  • 2021-06-28
  • 2022-01-07
猜你喜欢
  • 2022-12-23
  • 2021-08-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-09
  • 2021-10-16
相关资源
相似解决方案