company-anaconda
company-anaconda copied to clipboard
Support fuzzy matching
Followup from https://github.com/PythonNut/company-flx/issues/17.
One way this could be done is to expose some configuration variable company-anaconda-fuzzy-match which would allow tpe to match TypeError. That list of candidates would be handed off to company-flx for sorting.
Hello. Thanks for investigation this issue! Can you provide PR? I can't figure out requirements for patch from this description, sorry.
Ah I see. I'd need to PR against jedi as well. Changes to the anaconda RPC server would be required as well.
Can you describe in details what exact changes is necessary to anaconda_mode server and rpc client?
By the way I don't use jedi.el internally if this is what you are speaking about.
@proofit404 anaconda-mode would support a configuration flag like anaconda-mode-fuzzy-match, which if non-nil, would pass an extra argument to jedi here, which would tell jedi to produce fuzzy-matched completions.
But this method doesn't have such argument in its signature jedi master
@proofit404 indeed.