开发者

can I add import when editing method body code template in eclipse

I am trying to edit the template of creating a new method. I want to do something like this:

throw new mypackage.UnimplementedException();

but I want to add my package to imports and not to declare it with full package on the method body. I tried using:

 ${:import(mypackage.UnimplementedException)}

but it d开发者_StackOverflow社区oesn't work (works only in editor templates)


I submitted a request for this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=333313

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜