开发者

Source generation in Netbeans and Eclipse

开发者 https://www.devze.com 2022-12-12 04:28 出处:网络
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

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

精彩评论

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