开发者

Source generation in Netbeans and Eclipse

I now use Netbeans rather than Eclipse but find that the Source code generation seems more limited than Eclipse. For example Eclipse has a function that gen开发者_运维问答erates delegate methods but I cannot find this in Netbeans. Is there a comparison of the functionality in the tools, and any suggestions for overcoming deficiencies?


Delegate support has been in NetBeans for a while now (at least since 6.5).

  • Click outside a method.
  • Press Alt-Insert.
  • Select Delegate Method...
  • Select the field from the left panel
  • Check the methods to delegate in the right panel
  • Click Generate

As for feature comparisons... Google

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜