一、设置效果

/**
 * @Author zhangboqing
 * @Date 2019/12/29
 */
public class Sort {
}

 

二、设置步骤

File--> Settings--> Editor--> File and Code Templates--> Includes--> File Header--> 添加以下代码

${USER}会读取当前电脑的用户名

/**
 * @Author ${USER}
 * @Date ${DATE}
 */

【Idea】Idea中设置File Header文件头

 

相关文章:

  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2021-05-26
  • 2022-01-03
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
相关资源
相似解决方案