|
From: | João Távora |
Subject: | Re: Adding refactoring capabilities to Emacs |
Date: | Thu, 31 Aug 2023 09:02:16 +0100 |
> Date: Thu, 31 Aug 2023 00:49:53 +0300
> Cc: Yuri Khan <yuri.v.khan@gmail.com>, Eli Zaretskii <eliz@gnu.org>,
> emacs-devel <emacs-devel@gnu.org>, "Philip K." <philipk@posteo.net>
> From: Dmitry Gutov <dmitry@gutov.dev>
>
> > I don't know how VSCode does it, but refactorings -- at least the kind
> > provided by LSP servers -- aren't in general as trivial as simple
> > renamings. They are arbitrary sets of changes to code, like moving
> > whole functions from one file to another, adding new sections or new
> > files, removing sections or whole files, etc, etc.
>
> I previously posted a link to a screenshot from VS Code, here it is
> again:
> https://bobbyhadz.com/images/blog/rename-variable-vscode/refactor-preview.webp
Having never used VSCode, I have difficulty understanding what I see
there. Could you (or someone else) please post a detailed description
of what is shown there and what kind of refactoring is going on? TIA.
[Prev in Thread] | Current Thread | [Next in Thread] |