1.类头文件注释
file->setting->Editor->Filr and Code Templates->Includes->File Header
如图:

2.方法头注释
file->setting->Editor->Live


注意:


param 的配置
groovyScript("def result=''; def params=\"${_1}\".replaceAll('[\\\\[|\\\\]|\\\\s]', '').split(',').toList(); for(i = 0; i < params.size(); i++) {result+=' * @Param ' + params[i] + ((i < params.size() - 1) ? '\\n\\b' : '')}; return result", methodParameters())
网友评论