X

An Oracle blog about NetBeans for PHP

Generate Overriden & Implemented Methods

Guest Author

After invoking the shortcut ALT+Insert (CTLRL+I on Mac), all possible generators are offered. In 6.9 we have added next one: "Generate Overriden & Implemented Methods" (press mentioned shortcut in class declaration - between class members). See the picture below:

generate_overriden_methods

It is complementary feature to already existing features like:

code completion: overriden methods

More about other code generators can be found in previous blog entries:

Join the discussion

Comments ( 8 )
  • forest Thursday, April 29, 2010

    META+(first letter of function)

    works a treat here on linux running compiz/gnome


  • Kamil Thursday, April 29, 2010

    It would be nice to add posibility to generate from navigator view generate setters, getters and documentation, not everyone know about this shortcut


  • Tomas Mysik Thursday, May 6, 2010

    To Kamil: That's why we have this blog :)


  • Christian Friday, May 7, 2010

    Hi.

    Like Kamil said bevore from the user's point of view this function only helps if you can find it in the menu.

    If you are not used to use the shortcut you will forget it after a while. And what should you do then? Always searching in this blog? That's anything else but not comfortable.

    Would be very nice to place it into the NetBEans menu.


  • Tomas Mysik Friday, May 7, 2010

    To Christian:

    Of course it's there (BTW for ages ;), have a look at Source > Insert Code...

    Tomas


  • Kamil Friday, May 7, 2010

    Before using Netbeans I used Eclipse PDT thats why i was looking it in Navigator/Outline view


  • koubel Tuesday, May 11, 2010

    Nice one. What I still missing for better working with inheritance and interfaces -> feature request for 6.9 phpDoc improvements - https://netbeans.org/bugzilla/show_bug.cgi?id=180189.


  • radek Tuesday, May 11, 2010

    To Koubel:

    fixed today for 6.9


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha