I need a new refactoring feature for PHP IDE: "Extract method"
1. User having a some code in method/function and would like to extract some common functionality to new method.
2. User selects some lines which must be extracted, and call "extract method" feature.
3. IDE asks method name from user and confirm new method parameters
4. User confirms all.
5. IDE extracts code to new method.
Similar functionality implemented in ReSharper for C# (MSVS), but I would like having same in NetBeans for PHP.
The "Introduce Method" refactoring already available in Netbeans for Java is pretty much perfect for me:
It would be really nice to have actual code refactoring features for php in an open source IDE.
Any news an this one? When I saw that it was marked "target milestone = next" back in April, I thought it will be in 7.2. Still I can't find any new PHP refactoring in the nightly build.
there anybody? it's a very important feature for IDE
I plan to implement some new refactorings, but it's no time for 7.3. So probably it will be in some of later releases.
It's a must have feature!
This feature is really important and highly demanded. Please implement it soon.
+1 Missing that feature
Any progress on this one? It's been 3 and a half years since it was reported...
Just go use PhpStorm... You will die waiting with this pace of development.
And that feature is already implemented for Java files...
It might be easiest for Netbeans to act as a front end to this project:
which impliments some refactoring features on the command line.
This is a must have feature for modern PHP coding.
NetBeans is adding support for many modern PHP frameworks to attract users. It will need to add features like these to actually retain those users.
Please go for it!
Don't write those "+1" comments, use the vote link next to the priority. +1 comments have no relevance. Or just go download PhpStorm, as has been said...
@VaclavSir: ok, did it, thx.
P.S.: Kind of odd to recommend PHPStorm twice in this Bug...
What is status of this? I have 8.0.1 but still PHP refactoring is very poor. In 8.0.2 changelog nothing about PHP refactoring is mentioned.
For all people that need "extract method" feature. NetBeans has other awesome feature that you can use instead :
php templates with parameter hint.
you can easily surround selected code with function template declaration and even
add your custom templates.
If you are not familiar with this feature, I strongly recommend to read about it here:
Try it NOW (works in NB > 7.3):
1.select the code you want to extract.
2.press alt+enter, select "Surround with public function" from hint dialog menu.
PhpStorm has it. Why not NetBeans?
This is most usefull feature ever. Please make it :)
> Nowaker 2013-10-20 11:55:27 UTC
> Just go use PhpStorm... You will die waiting with this pace of development.