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|

This works with fields also:

private TemplateManager _tem|

with cursor at | if you invoke the completion key sequence Eclipse
completes it to:

private TemplateManager _templateManager|

That is to say Eclipse takes into account the '_' prefix naming
convention.

I know this is an example of quick fix and not refactoring. This could
be easily implemented
in Emacs lisp + some help from Semantic.

Sandip

-----Original Message-----
From: Paul Kinnucan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 30, 2004 12:39 PM
To: Chitale, Sandip V
Cc: Paul Kinnucan; [EMAIL PROTECTED]
Subject: RE: refactoring in jdee

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 local variables work?

Paul

 > Here are the links:
 > 
 > Eclipse:
 > Refactoring:
 >
http://help.eclipse.org/help30/index.jsp?topic=/org.eclipse.jdt.doc.user
 > /reference/ref-menu-refactor.htm
 > Quick Fix:
 >
http://help.eclipse.org/help30/index.jsp?topic=/org.eclipse.jdt.doc.user
 > /concepts/cquickfix.htm
 > 
 > IDEA:
 > Refactoring: http://www.jetbrains.com/idea/docs/help/refactoring/
 > Intention Actions:
 > http://www.jetbrains.com/idea/docs/help/editing/intentionactions.html
 > ala Quick Fixes
 > 
 > Regards,
 > Sandip
 > 
 > -----Original Message-----
 > From: Paul Kinnucan [mailto:[EMAIL PROTECTED] 
 > Sent: Thursday, September 30, 2004 10:51 AM
 > To: Raul Acevedo
 > Cc: [EMAIL PROTECTED]
 > Subject: refactoring in jdee
 > 
 > 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 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.
 > 
 > Paul
 > 

Reply via email to