ZJOE80

步骤

设置注释模板的入口:Window->Preference->Java->Code Style->Code Template 然后展开Comments节点就是所有需设置注释的元素。

 

1、类型(Code——>New Java files)注释标签(类的注释)

/**
* @author xxx的邮箱
* @version 1.0.0
* @date ${currentDate:date(\'yyyy/MM/dd HH:mm\')}
* @since 1.0
*/

 

2、方法(Methods)标签

/**
* @return ${return_type}
* @exception
* @author xxx的邮箱
* @date ${currentDate:date(\'yyyy/MM/dd HH:mm\')}
*/

 

3、重写方法

/**
* @return $return$
* @exception
* @author xxx的邮箱
* @date ${currentDate:date(\'yyyy/MM/dd HH:mm\')}
*/

 

分类:

技术点:

相关文章:

  • 2021-12-16
  • 2021-12-02
  • 2022-01-07
  • 2021-06-22
  • 2021-12-02
  • 2022-01-07
  • 2021-11-29
  • 2021-11-07
猜你喜欢
  • 2021-11-07
  • 2021-08-02
  • 2021-08-02
  • 2021-11-07
  • 2021-12-05
  • 2021-04-09
相关资源
相似解决方案