How can I register a completion post-processor? #1891
Unanswered
scratchyone
asked this question in
Q&A
Replies: 1 comment
-
I've solved this issue with PR #1894 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a plugin related to using ML models to improve completion rankings. To make this efficient, I need to pass the entire list of 100+ completions in as a single batch.
However, I can't seem to find any good way to get access to the entire list of completion entries.
cmp.get_entries()
doesn't seem to return the full list of entries until after it finishes running comparators, at which point it is too late for me to change the rankings at all.Is there some way to register a post-processor of some kind, that can reorganize the entire list of entries all at once, after they've finished all other filtering and sorting?
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions