New answers tagged company-mode
1
vote
How to sort list of completions produced by eglot and company-mode?
The small library sortie.el (code) is very general.
It's specifically for sorting completion candidates, on the fly, that is, interactively. The candidates can be of any kind, and you can sort them ...
2
votes
Accepted
How to sort list of completions produced by eglot and company-mode?
There is a user option company-transformers which allows you to choose from existing sorting functions, or set up your own.
No built-in option to "sort by string length", but it seems easy ...
Top 50 recent answers are included
Related Tags
company-mode × 243completion × 54
auto-complete-mode × 22
python × 19
lsp-mode × 13
key-bindings × 11
yasnippet × 10
c++ × 10
company × 10
spacemacs × 9
init-file × 9
org-mode × 7
hooks × 6
keymap × 6
ess × 5
lsp × 5
dabbrev × 5
latex × 4
debugging × 4
flycheck × 4
elpy × 4
golang × 4
gtags × 4
jedi × 4
irony-mode × 4