[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rename refactoring, or something like that
From: |
joakim |
Subject: |
Re: Rename refactoring, or something like that |
Date: |
Mon, 16 Nov 2015 11:03:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Dmitry Gutov <address@hidden> writes:
> We have "something like that" now, implemented as an xref command
> acting on a list of search results. To try it out:
>
> 1. M-x xref-find-references, or M-x project-find-regexp. Input
> something real, get a list of matches.
>
> 2. In the results buffer, press `r'.
>
> 3. Somewhat counter-intuitively, press RET to agree to `.*', then
> enter the replacement string, and press RET again.
>
> 4. Press `y' or `n' a few times, to choose which of the matches to
> actually replace. M-x save-some-buffers, then `!', to save the
> changes.
>
> 5. Feel hugely motivated, and write a better UI for all of that.
>
Does it work like one of the grep-edit implementations?
--
Joakim Verona
- Re: A better UI than perform-replace (was: Rename refactoring, or something like that), (continued)
Re: Rename refactoring, or something like that,
joakim <=
Re: Rename refactoring, or something like that, Eli Zaretskii, 2015/11/16