all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.