idea live template

分享下自己的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 即可

 

原文地址:https://www.cnblogs.com/lijiale/p/9785717.html