[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xref.el] Add `xref-find-references` to `xref-prompt-for-identifier`
From: |
Eli Zaretskii |
Subject: |
Re: [xref.el] Add `xref-find-references` to `xref-prompt-for-identifier` |
Date: |
Sat, 09 Dec 2017 10:29:48 +0200 |
> From: Ray <emacsray@gmail.com>
> Date: Fri, 8 Dec 2017 13:13:49 -0800
>
> Currently, xref-find-references prompts for the identifier to look up,
> because it is not listed in xref-prompt-for-identifier:
>
> (defcustom xref-prompt-for-identifier '(not xref-find-definitions
> xref-find-definitions-other-window
> xref-find-definitions-other-frame)
>
> It will be much core convenient to add xref-find-references in the list.
>
> Many language servers now support finding references. The typical
> usage of lsp-mode is to put point at some identifier and hit a
> shortcut (by default M-?) to trigger xref-find-references. The prompt
> is in many cases undesired.
Please either post this to emacs-devel@gnu.org, or (better) use
report-emacs-bug to request this addition. The latter causes your
request to be recorded by the Emacs issue tracker; both methods will
have the request sent to people who are actually developing xref.el.
Thanks.