IDEA添加Live Template:
File->Setting->Editor->Live Templates
Abbreviation:
*
Template text:
** *$context$ */
设置context内容:
Edit variables ->Default value
groovyScript("C:\\IDEACommentLiveTemplate.groovy", currentPackage(), className(), methodName(), jsMethodName(), methodParameters(), methodReturnType(), date("yyyy-MM-dd"), time(