1.点击File

2.点击Settings

3.点击Editor

4.点Live  Templates

5.点击左上角加号选中第2个

IDEA如何自动添加注解作者等信息?

 

6.自定义命名,选中你自己创建的组,点击左上角加号选择第1个选项

添加以下内容

/**
* @author BinPeng
* @date $date$ $time$
*/

IDEA如何自动添加注解作者等信息?

 

7.点击Edit, variables,添加属性


IDEA如何自动添加注解作者等信息?

 


8.这时底部会有警告提示,点击它

 IDEA如何自动添加注解作者等信息?

9.输入关键字会有提示

 IDEA如何自动添加注解作者等信息?

 

 IDEA如何自动添加注解作者等信息?

 

相关文章:

  • 2021-06-08
  • 2021-11-19
  • 2022-12-23
  • 2021-04-16
  • 2021-12-18
猜你喜欢
  • 2021-11-06
  • 2021-04-04
  • 2021-09-01
  • 2021-08-14
  • 2022-12-23
相关资源
相似解决方案