unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* rename methods and all the calls
@ 2007-03-16 22:55 Pedro Sa da Costa
  2007-03-17 15:19 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Sa da Costa @ 2007-03-16 22:55 UTC (permalink / raw)
  To: help-gnu-emacs

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?

Thanks,
Pedro

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rename methods and all the calls
  2007-03-16 22:55 rename methods and all the calls Pedro Sa da Costa
@ 2007-03-17 15:19 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2007-03-17 15:19 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-17 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 22:55 rename methods and all the calls Pedro Sa da Costa
2007-03-17 15:19 ` Kevin Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).