intellijidea课程 intellijidea神器使用技巧 3-2 livetemplate

创建livetemplate分组:

ctrl shift a    ==》    live templates  ==》  +  ==》 templates group

创建livetemplate模版

一个变量    System.out.println($END$);  

两个变量    private static final String $var1$ = $var2$;

带有注释    

 /**
  *$VAR1$
  */
private String $VAR2$;
 $END$

Ctrl j或者enter    调用livetemplate模版

原文地址:https://www.cnblogs.com/1446358788-qq/p/8716320.html