From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: rename methods and all the calls
Date: Sat, 17 Mar 2007 09:19:43 -0600 [thread overview]
Message-ID: <eth0uc$8jh$1@sea.gmane.org> (raw)
In-Reply-To: <45FB207C.4090302@mail.telepac.pt>
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
prev parent reply other threads:[~2007-03-17 15:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-16 22:55 rename methods and all the calls Pedro Sa da Costa
2007-03-17 15:19 ` Kevin Rodgers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='eth0uc$8jh$1@sea.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).