|
From: | Dmitry Gutov |
Subject: | Re: Xref completion |
Date: | Sun, 6 Dec 2020 23:20:30 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 06.12.2020 22:46, Juri Linkov wrote:
Also added some highlighting with corresponding xref faces. It now looks closer to Pierre's original screenshot.Thanks, everything works well. Would be nicer to add all available choices to xref-show-definitions-function (i.e. "at bottom", "minibuffer").Of course, a bit later. BTW, when we do that, should we also rename all involved functions to "public" names?Indeed, these functions are not "internal".
All right.
On the one hand, it feels kinda faster, on the other, it lacks the ability to "look around" when you really need it. In an ideal world, I guess the UI would be somewhere in the middle.There are still too many differences between them. The most noteworthy is that xref--show-defs-minibuffer doesn't show completions by default, only after TAB TAB.That depends on the completion UI in use. To see them right away, just start with 'M-x fido-mode'. Or here is the config I'm currently trying out. It needs both ivy and ivy-posframe installed, though:;; See the result on the attached screenshot.But matches are not highlighted on your screenshot, whereas on Pierre's screenshot matches are highlighted.
That's only because there is no input on my screenshot (I aimed to show other things). And Pierre's features input "noti".
Ivy, of course, highlights the matches.
[Prev in Thread] | Current Thread | [Next in Thread] |