|
From: | Dmitry Gutov |
Subject: | Re: Adding support for xref jumping to headers/interfaces |
Date: | Sat, 11 Nov 2023 02:07:37 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 09/11/2023 19:07, Spencer Baugh wrote:
If we leave all the UI decisions to the backends (both extra commands and the dispatch which kind to use in the "unifying" command as well), then there might be little point in adding extra infrastructure to xref.el itself.Custom kinds would still require you to type in the kind symbol. (Or a backend or mode can make a "quick-access" command specific to that kind, if they want.)
xref-show-xrefs is a public function, FETCHER just needs to return a list of xrefs, the same data that backend functions like xref-backend-definitions return.
[Prev in Thread] | Current Thread | [Next in Thread] |