[UPHPU] Refactoring in Eclipse PDT
Rusty Keele
rusty.keele at yahoo.com
Fri Oct 19 10:11:11 MDT 2007
Hi,
For the past week I have been using the PHP Development Tools framework for Eclipse 3.3.0. It is great having a powerful IDE with PHP specific tools.
http://www.eclipse.org/pdt/
However, I am trying to use the Refactor functionality but I can't seem to get it working. What I want to do is change the signature of a method in one of my classes and have Eclipse do its refactoring magic to update all the calls to that method in other files.
Here are my issues:
1. Is this something that refactoring is meant to accomplish? Or are there better ways to do this? (Yes I could do it by hand or with search and replace, but I am trying to learn refactoring here.)
2. How do you perform refactoring in Eclipse? If I highlight the method name and click on Refactor I have the option for renaming it, but clicking on that does nothing.
3. Do I need to install a plug in? Or utilize some refactoring class to accomplish this?
I have been searching on Google and I have found several documents that describe the theory of refactoring, and some that say how to use refactoring with Java code but nothing specific to PDT. Has anybody gotten this to work?
Thanks,
-Rusty
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the UPHPU
mailing list