Page 1 of 1

Override

PostPosted: December 6th, 2012, 12:29 pm
by BladeMF
Can you make a intellisense keyword, i.e. override, which works just like the C# one - it shows all the base class methods which are not final and not private and not already overridden in current class and then copies the definition? And then, when you use /**, it autocompletes the base class' documentation.

It would be a hell of a feature for deep class hiearchies!

Re: Override

PostPosted: December 6th, 2012, 12:44 pm
by Jakub Misek
sounds great. Maybe we can just display those functions after the 'function' keyword. And we can include magic method names too.

Re: Override

PostPosted: December 6th, 2012, 1:31 pm
by BladeMF
Jakub Misek wrote:sounds great. Maybe we can just display those functions after the 'function' keyword. And we can include magic method names too.


Nice! And maybe include a call to the base implementation :)

Re: Override

PostPosted: December 6th, 2012, 1:56 pm
by Jakub Misek
right! :)