见下图

window-preferences

Eclipse设置方法注释模版

${tags}就包含了@param 和@return,@param会自动获取你方法的参数名

所以目前我设置的如下

/**
 * @Description 
 * ${tags}
 */

效果见下图

Eclipse设置方法注释模版

相关文章:

  • 2021-12-19
  • 2021-10-25
  • 2021-12-05
  • 2021-12-01
  • 2021-04-09
  • 2022-12-23
  • 2021-12-15
猜你喜欢
  • 2021-08-11
  • 2021-05-02
  • 2021-09-07
  • 2021-08-17
  • 2021-11-09
  • 2021-08-04
  • 2021-08-01
相关资源
相似解决方案