psvm
+ tab
会:
public static void main(String[] args) {
}
现在我希望cml
为:
CommandLineRunner runner () {
return args -> {
};
}
如何在IDEA中添加它?
答案 0 :(得分:1)
结帐IntelliJ IDEA Live Templates documentation
基本上你可以创建这样的缩写:
File -> Settings... -> Editor -> Live Templates
+
符号就是这样。