|
From: | Dmitry Gutov |
Subject: | Rename refactoring, or something like that |
Date: | Sun, 15 Nov 2015 06:43:24 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |