GNU bug report logs -
#70929
30.0.50; eglot--apply-text-edits prevents point adjustment
Previous Next
Full log
View this message in rfc822 format
On Tue, May 14, 2024 at 1:30 AM Felician Nemeth
<felician.nemeth <at> gmail.com> wrote:
>
> If I remember correctly, the LSP specification does not say where the
> point should be after onTypeFormatting. Something like this motivated
> the rust-analyzer developers to introduce their own SnippetTextEdit
> extension. The upcoming LSP version is going to contain a slightly
> different version of the SnippetTextEdit.
>
> If my memories are correct, Ada Language Server should use this
> SnippetTextEdit to unambiguously communicate its intent here. (However,
> Eglot does not currently supports SnippetTextEdit.)
It was my understanding as well that they went out of their way to not
indicate point location, however you end up with editors doing
different things. Maybe the Ada LS should take a different approach
here though, as you mention.
This bug report was last modified 1 year and 27 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.