tbodt / deoplete-tabnine

Deoplete source for TabNine
256 stars 17 forks source link

Not fetching results properly from ls #46

Open wallace11 opened 4 years ago

wallace11 commented 4 years ago

Using TabNine::sem with pyls, suggestions from language server appear only after a couple of tries, as illustrated in the attached gif.

I even tried to force a higher timeout in TabNine.toml, which appears to have done nothing.

synchronous_triggers = ["."]
synchronous_timeout_ms = 1000

output

Shougo commented 4 years ago

This is not deoplete-tabnine's problem. It is tabnine's problem.

You should ask it in tabnine side. https://github.com/codota/TabNine/issues

Shougo commented 4 years ago

And it seems tabnine's semantic completion feature. tabnine's semantic completion is option. If the completion is slow like pyls, it will be skipped.

Shougo commented 4 years ago

Hm. I have tested it and it works for me. You need to wait the completion.

And please test the configuration.

[language.python]
command = "pyls"
install = [["pip", "install", "python-language-server"]]
synchronous_triggers = ["."]
synchronous_timeout_ms = 1000
wallace11 commented 4 years ago

Hm. I have tested it and it works for me. You need to wait the completion.

And please test the configuration.

[language.python]
command = "pyls"
install = [["pip", "install", "python-language-server"]]
synchronous_triggers = ["."]
synchronous_timeout_ms = 1000

Hey, No matter what I do, it doesn't work reliably. I guess I'll have to report it to tabnine directly then...