emacs-devel
[Top][All Lists]
Advanced

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

Re: Adding support for xref jumping to headers/interfaces


From: Dmitry Gutov
Subject: Re: Adding support for xref jumping to headers/interfaces
Date: Thu, 9 Nov 2023 02:26:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 09/11/2023 02:08, Dmitry Gutov wrote:
Do you know which category does "eglot-find-typeDefinition" falls into, and why? Aside from the fact that it, historically, uses a separate endpoint.

Hm, according to https://github.com/rust-lang/rust-analyzer/issues/2541#issuecomment-565166660, "find-typeDefinition" goes to the definition of the type of the current variable (at point).

That probably means it doesn't really fit with the rest of the commands we're discussing, e.g. because the identifier it works on is actually a type name (so the completion should be across types? ideally, at least, if LSP supported that). Anyway, it shouldn't be mixed into "find definition", at least if we go by rust-analyzer's meaning of it.



reply via email to

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