标签:ret span mamicode 方法注释 roo head 技术 exp modify
Settings->File and Code Templates->Files
分别在Class 和 Interface添加
/**
*@description: TODO
*@author: mufeng
*@create: ${DATE} ${TIME}
*/

Settings->Live Templates
1.添加Template Group 命名“methoddesc”(自定义)
2.添加Live Template 命名“**”(这样为了可以用/**+Tab),添加模板:
**
*
3.parm的Expression为groovyScript脚本,可以实时返回参数名称:
groovyScript("_1.collect { ‘* @param ‘ +it}.join(‘\\n ‘) + ‘‘", methodParameters())
标签:ret span mamicode 方法注释 roo head 技术 exp modify
原文地址:https://www.cnblogs.com/mufeng07/p/12108656.html