[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding refactoring capabilities to Emacs
From: |
Yuri Khan |
Subject: |
Re: Adding refactoring capabilities to Emacs |
Date: |
Sun, 20 Aug 2023 15:44:00 +0700 |
On Sun, 20 Aug 2023 at 08:20, Dmitry Gutov <dmitry@gutov.dev> wrote:
> If we had a better UI for renaming than query-replace, we could plug it
> into project-find-regexp and xref-find-references' output buffers.
>
> Where you currently can hit 'r' to switch to renaming action, it could
> instead show the proposed operation (in some fashion) and how the text
> will look "after". That would cover the regexp-replace and the
> rename-symbol refactorings. Just the basics, but still. Those could also
> be combined into separate commands (such as
> xref-find-references-and-replace).
Renaming is already possible in Eglot, with the following UI: You
stand on a symbol and invoke eglot-rename. It asks you for the new
name, then does the right thing.
- Adding refactoring capabilities to Emacs, Eli Zaretskii, 2023/08/19
- Re: Adding refactoring capabilities to Emacs, Eshel Yaron, 2023/08/19
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/08/19
- Re: Adding refactoring capabilities to Emacs, Eli Zaretskii, 2023/08/20
- Re: Adding refactoring capabilities to Emacs,
Yuri Khan <=
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/08/20
- Re: Adding refactoring capabilities to Emacs, João Távora, 2023/08/29
- Re: Adding refactoring capabilities to Emacs, Dr. Arne Babenhauserheide, 2023/08/29
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/08/29
- Re: Adding refactoring capabilities to Emacs, Stefan Kangas, 2023/08/30
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/08/30
- Re: Adding refactoring capabilities to Emacs, João Távora, 2023/08/30
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/08/30
- Re: Adding refactoring capabilities to Emacs, Stefan Kangas, 2023/08/30
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/08/30