V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  jeckzang  ›  全部回复第 1 页 / 共 1 页
回复总数  1
eclipse 可以的,Preferences->Java->Editor->Templates 可以设置快捷方式如,敲击 for 可以提示生成:
for (int ${index} = 0; ${index} < ${array}.length; ${index}++) {
${line_selection}${cursor}
}
如 sysout 可以生成
System.out.println(${word_selection}${});${cursor}

而且还可以自定义,想要什么要什么
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   946 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 20:58 · PVG 04:58 · LAX 13:58 · JFK 16:58
Developed with CodeLauncher
♥ Do have faith in what you're doing.