Advanced Refactoring proposal

Hi,

Iam using PhpStorm 2.1 evaluation and i would love to see the same Refactoring Feature wich
i have in MS Visual C/C++ with the Thirdparty Refactoring Addon Visual Assist X From the Vendor
Whole Tomato!

I think there can be done a lot more then this like "create smarty implementation" from PHP Controller,
Refactor MySQL 5 Querys e.c.t



Attachment(s):
proposal.jpg
4 comments
Comment actions Permalink

That's not refactoring it is code generation and is best implimented by creating your own smart templates (I mean how much time does having to right click, hit code generation, and then type the full method signature save you?).  What PHPStorm does allow is impliment method, which allows you to program against funcitons in classes that don't exist, and then hit Alt-Enter (when the method is hilighted that it is missing) and have PHPStorm autogenerate the method for you.  Now that is useful!

Kris

0
Comment actions Permalink

Kris.Erickson wrote:

......which allows you to program against funcitons in classes that don't exist, and then hit Alt-Enter (when the method is hilighted that it is missing) and have PHPStorm autogenerate the method for you....

Great Tip!! :)

I hadn't discoved this feature yet.  and what an awesome feature it is.  Thanks Kris.

0
Comment actions Permalink

This is not the same!

It is Refactoring while adding Members to Classes, checking dependecines e.c.t
Your Tip is stupid and not usefull at all.

0
Comment actions Permalink

pmvstrm wrote:


Your Tip is stupid and not usefull at all.

It is a really useful tip.  you can add $this->generate_the_sql_statement();  highlight generate_the_sql_statement hit alt+enter and another method is added for you to fill in later.  Thats awesome.

Up til now i have just been leaving it and then going back to the spots in the margin in red saying "function is undefined" then building it.  This way is cool.

What your after might be cool too, but i, for one, dont understand what your after.  I've never used "MS Visual C/C++ with the Thirdparty Refactoring Addon Visual Assist X From the Vendor
Whole Tomato!"  So dont understand what your actually wanting.

Instead of bagging the guy trying to help, elaborate on what it is your after and why it will be useful so that others can see how it will be useful.  Stuff seams to get built based on how many people want it.

0

Please sign in to leave a comment.