refactoring in jdee

2004-09-30 Thread Paul Kinnucan
Raul Acevedo writes: I know this question comes up at least once a year. I figure it's about time to ask again, in case new tools have come up. How do you do refactoring in Emacs/JDEE? Are there plans to include refactoring into JDEE at some point? My plan originally was to use xref

Re: refactoring in jdee

2004-09-30 Thread Raul Acevedo
On Thu, 2004-09-30 at 13:50 -0400, Paul Kinnucan wrote: My plan originally was to use xref as a basis for factoring commands. Now it appears that jde-usages might be a better basis. I need input on what kind of factoring commands users want. I think just being able to refactor variable and

Re: refactoring in jdee

2004-09-30 Thread Matt Kurjanowicz
The ability to change class names as well would be awesome :) -Matt Kurjanowicz On Thu, 30 Sep 2004 10:54:50 -0700, Raul Acevedo [EMAIL PROTECTED] wrote: On Thu, 2004-09-30 at 13:50 -0400, Paul Kinnucan wrote: My plan originally was to use xref as a basis for factoring commands. Now it

Re: refactoring in jdee

2004-09-30 Thread Paul Kinnucan
Raul Acevedo writes: On Thu, 2004-09-30 at 13:50 -0400, Paul Kinnucan wrote: My plan originally was to use xref as a basis for factoring commands. Now it appears that jde-usages might be a better basis. I need input on what kind of factoring commands users want. I think just

Re: refactoring in jdee

2004-09-30 Thread m0smith
Also, extracting a method woutld be very useful. On Thu, 30 Sep 2004 10:54:50 -0700, Raul Acevedo [EMAIL PROTECTED] wrote: On Thu, 2004-09-30 at 13:50 -0400, Paul Kinnucan wrote: My plan originally was to use xref as a basis for factoring commands. Now it appears that jde-usages might be

Re: [jde] Re: refactoring in jdee

2004-09-30 Thread Raul Acevedo
On Thu, 2004-09-30 at 13:58 -0400, Matt Kurjanowicz wrote: The ability to change class names as well would be awesome :) Yes, that would be cool also. In terms of priority, I'd rather see variable and method refactoring first, since that's a bit more common. With jde-usages in place, adding

Re: refactoring in jdee

2004-09-30 Thread Raul Acevedo
On Thu, 2004-09-30 at 12:01 -0600, m0smith wrote: Also, extracting a method woutld be very useful. Good lord that sounds like dental work. :) What exactly is method extraction? Raul

RE: refactoring in jdee

2004-09-30 Thread Chitale, Sandip V
I guess we don't have to list each type of refactoring. We could get the readymade list from Eclipse or IDEA and then prioritize the list. Another cool thing in these IDEs is a notion of Quick Fixes, auto naming of local variables etc. Here are the links: Eclipse: Refactoring:

Re: refactoring in jdee

2004-09-30 Thread Erik Curiel
Also, as long as we're writing down our Christmas wish-lists :) (it's a long list, and I certainly don't expect even a fraction of these to be done any time soon, if ever): 1) moving methods (both static and non-static) and static fields between classes 2) changing method signatures 3) making

Re: refactoring in jdee

2004-09-30 Thread Suraj Acharya
I see two ways of approaching getting some refactoring functionality in JDE: 1) Use the parse information from semantic with perhaps a semanticdb backend for jar and class files using jde-usages. Semantic didn't parse java methd bodies when I last checked so this restricts the kinds of

RE: refactoring in jdee

2004-09-30 Thread Paul Kinnucan
Chitale, Sandip V writes: I guess we don't have to list each type of refactoring. We could get the readymade list from Eclipse or IDEA and then prioritize the list. Another cool thing in these IDEs is a notion of Quick Fixes, auto naming of local variables etc. How does autonaming of

RE: refactoring in jdee

2004-09-30 Thread Chitale, Sandip V
For example: TemplateManager tem| with cursor at | if you invoke the completion key sequence Eclipse completes it to: TemplateManager templateManager| Similarly: TemplateManager man| with cursor at | if you invoke the completion key sequence Eclipse completes it to: TemplateManager manager|