Generate Overriden & Implemented Methods

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:

Comments:

META+(first letter of function)

works a treat here on linux running compiz/gnome

Posted by forest on April 29, 2010 at 11:09 AM CEST #

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

Posted by Kamil on April 29, 2010 at 03:08 PM CEST #

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

Posted by Tomas Mysik on May 06, 2010 at 12:25 PM CEST #

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.

Posted by Christian on May 07, 2010 at 05:05 AM CEST #

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

Tomas

Posted by Tomas Mysik on May 07, 2010 at 05:19 AM CEST #

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

Posted by Kamil on May 07, 2010 at 06:07 AM CEST #

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.

Posted by koubel on May 11, 2010 at 04:11 AM CEST #

To Koubel:
fixed today for 6.9

Posted by radek on May 11, 2010 at 10:07 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today