You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I understand based on this feature it's possible to customize candidates order. (https://github.com/jline/jline3/pull/678/files) However, when completion candidates are rendered for the 1st time I'm pressing tab to pick something and the order flips to natural sorting.
E.g. 1st customized render c, b, a, then tab+tab and a, b, c.
Is there a chance to preserve ordering based on candidate.sort or pass comparator?
The text was updated successfully, but these errors were encountered:
mattirn
changed the title
Question: customized candidates order when tabbing through candidates
Customized candidates order lost when tabbing through candidates
Dec 23, 2021
mattirn
changed the title
Customized candidates order lost when tabbing through candidates
Candidates customized order lost when tabbing through candidates
Dec 23, 2021
Hello guys!
As far as I understand based on this feature it's possible to customize candidates order. (https://github.com/jline/jline3/pull/678/files) However, when completion candidates are rendered for the 1st time I'm pressing tab to pick something and the order flips to natural sorting.
E.g. 1st customized render
c, b, a
, then tab+tab anda, b, c
.Is there a chance to preserve ordering based on candidate.sort or pass comparator?
The text was updated successfully, but these errors were encountered: