emacs-devel
[Top][All Lists]
Advanced

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

Re: [semi off topic] grep-based refactoring [was: Adding refactoring cap


From: tomas
Subject: Re: [semi off topic] grep-based refactoring [was: Adding refactoring capabilities to Emacs]
Date: Fri, 8 Sep 2023 20:51:28 +0200

On Fri, Sep 08, 2023 at 09:24:12PM +0300, Dmitry Gutov wrote:
> On 08/09/2023 20:53, João Távora wrote:
> > On Fri, Sep 8, 2023 at 2:31 PM<tomas@tuxteam.de>  wrote:

[identifiers in comments, etc.]

> > Not sure about that.  Clangd mentions this limitation specifically
> > in their web page, so they acknowledge it and possibly are looking
> > to fix it.  It's not too wild to think that an LSP server might
> > to suggest additional edits beyond what it has from syntactic
> > analysis, who knows maybe even using language models or by using
> > a parser that understands doxygen or common types of documentation
> > systems using comments.
> 
> As long as the identifiers are referred to in the docstrings using the
> proper markup. And they could also mention the same term in the free-form
> text which one might want to see renamed.
> 
> > So the only thing we know for sure is that grep-based isn't enough.
> 
> Good thing we'll have access to both anyway.

And good thing in the first place that people are aware :-)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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