我的意思是像输入“iter”并获得一个“for”循环,选择要迭代的变量,输入“soutv”生成一个“System.out.println”,其中“variable=”已经在...
谢谢!
最佳答案
它叫做Templates,可以在下面找到,
窗口 → 首选项 → Java → 编辑器 → 模板
“soutv”模板不存在(“sysout”存在,而且很相似),但很容易添加。我使用了这种模式:
System.out.println("variable=" + ${cursor}${});
关于java - IntelliJ "Live templates"的 Eclipse 等价物是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4022367/