help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Xref/tags/lsp possible bug


From: Dmitry Gutov
Subject: Re: Xref/tags/lsp possible bug
Date: Mon, 25 Apr 2022 23:29:02 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 25.04.2022 23:05, Stefan Monnier via Users list for the GNU Emacs text editor wrote:
You can still try to cobble up some kind of "list of top-levelish
definitions" but it's inevitably a hack.

Yes, in most languages there will be at least some symbols that have no meaningful "global" names.

LSP could provide a table of all global symbols, though. And it kind of does, but not exactly. Not in a way that's useful to build an Emacs completion table from. But it will hopefully improve the spec further.

As for the reason why: my guess is that the protocol was designed as a common ground for a number of existing code assistance libraries/tools already developed within Microsoft, rather than something from a blank slate, and those are inevitably biased toward a particular UI.



reply via email to

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