分享下自己的idea的live template
1、
2、
3、groovyScript(" '\"' +_1 + ' ' + _2.collect { it + '[{}]'}.join(', ') + '\"' + ', ' + _2.collect { it }.join(',') + ', e' ", methodName(), methodParameters())
使用groovy腳本拼接參數
這個template 用來打印方法中的日志非常的方便會自動將方法的所有參數打出解放勞動力。
4、導出的可使用的settings.jar
下載地址
https://files.cnblogs.com/files/lijiale/settings.rar
下載后解壓
file -> import settings 即可