neoclide / coc-tabnine

Tabnine integration of coc.nvim
467 stars 18 forks source link

termux install problem #78

Open BoltLi opened 2 years ago

BoltLi commented 2 years ago

[coc.nvim] Error on activate extension coc-tabnine: Sorry, the platfor m 'android' is not supported by Tab Nine. Press ENTER or type command to cont inue

BoltLi commented 2 years ago

@chemzqm is there any way to support termux?

chemzqm commented 2 years ago

Don't know, help needed

sfiedler0 commented 2 years ago

You can see in https://github.com/codota/TabNine/blob/master/dl_binaries.sh that Android is not supported by tabnine. Then it's clear that coc-tabnine also doesn't work.
Perhaps cloud-completions may work, but then coc-tabnine has to ask the user if he wants to enable cloud completions. I think about something like this (pseudo-code):

check for a tabnine binary supported on this device
if there is a tabnine binary supported on this device:
  automatically select this tabnine binary
else:
  ask user for automatically activated cloud-completions
  if user prompts "yes":
    continue installation process only with clound-completions
  else:
    abort the installation process because there is no working binary

coc-tabnine may also use wine and execute a windows tabnine binary.

But I don't know how difficult this is…