使用idea的动态模板,简化复杂的工作

编辑自己的动态模板

按下 Ctrl+alt+S 打开设置,输入live template

intelij idea 动态模板使用(live template)

intelij idea 动态模板使用(live template)输入你使用的缩写,这个intelij idea 动态模板使用(live template)是解释

选择下面的change是设置作用的地方。

接下来,在编辑器中,输入sysout+tab,就会输出“System。out.println()”,

很方便。

这个是idea 默认的动态模板,看看。就有psvm,输入main方法

intelij idea 动态模板使用(live template)

enjoy idea把

转载于:https://my.oschina.net/u/2497999/blog/537325

相关文章: