[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rename methods and all the calls

From: Kevin Rodgers
Subject: Re: rename methods and all the calls
Date: Sat, 17 Mar 2007 09:19:43 -0600
User-agent: Thunderbird (Macintosh/20070221)

Pedro Sa da Costa wrote:
1 - I'm using emacs with jdee and xrefactory to program a java program.
If i want to rename a method, how can i rename a method and all the calls that are spread in several classes in emacs?

If the classes are in the same directory:

C-x d *.java    ; dired
t       ; dired-toggle-marks
Q \<oldMethod\> RET newMethod RET ; dired-do-query-replace-regexp
!       ; replace 'em all!

Then save the modified buffers.

Kevin Rodgers
Denver, Colorado, USA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]