[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding refactoring capabilities to Emacs

From: Dmitry Gutov
Subject: Re: Adding refactoring capabilities to Emacs
Date: Tue, 5 Sep 2023 02:34:11 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 04/09/2023 18:45, Dmitry Gutov wrote:
Maybe wherever "Extract function" works (newer clangd? I have 15.0.7 installed), it would do the same.

Apparently not quite (there is a "Refactor with Preview..." action on the video).

I found this gif with "Extract function": https://i.stack.imgur.com/YLFvw.gif

I does look similar to an one-line diff, but lines are not truncated on newline (multiple lines are folded into one instead with a special char denoting newline, as long as they fit into the available width).

There is also something that implies a difference but is not: the top node is not a file name, but I'm guessing that's only when the tab (buffer?) is not saved to a file yet.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]