【发布时间】:2011-04-03 05:13:47
【问题描述】:
有什么方法可以在 Eclipse 中生成类似这样的模板(Java -> Editor -> Templates)
debug("methodName arg1=" + arg1 + " arg2=" + arg2 + " arg3=" + arg3);
在方法中使用时。例如:
public void setImage(long rowId, long contactId, String thinggy) {
// invoking the template here, produces this:
debug("setImage rowId=" + rowId + " contactId=" + contactId + " thinggy=" + thinggy);
}
我找不到使用标准模板 UI 的方法,也许有一个插件可以做这种事情?
【问题讨论】: