deoplete-tabnine icon indicating copy to clipboard operation
deoplete-tabnine copied to clipboard

Not fetching results properly from ls

Open wallace11 opened this issue 4 years ago • 4 comments

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

wallace11 avatar May 13 '20 00:05 wallace11

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 avatar May 13 '20 01:05 Shougo

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 avatar May 13 '20 01:05 Shougo

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

Shougo avatar May 13 '20 01:05 Shougo

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...

wallace11 avatar May 14 '20 22:05 wallace11