neoclide / coc-tabnine

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

Whole-line and full-function completion #81

Open realSaltyFish opened 2 years ago

realSaltyFish commented 2 years ago

Hi, It seems that coc-tabnine does not provide whole-line or full-function completion. I have pro activated, but coc-tabnine still only offers short code completion. Are the pro features not implemented?

chemzqm commented 2 years ago

Seems you need confirm completion.

realSaltyFish commented 2 years ago

Sorry but I cannot understand your reply.

If you are talking about confirming the completion options: Yes the short code completion is working and I can use it normally. It's the whole-line and full-function completion that is not working. They are supposed to look like this (image taken from Tabnine's official website): image

The only thing I can get is this: image

I can confirm its completion suggestion but I expect Tabnine to suggest the entire function body when I just write a function signature and put the cursor here: image

Is this implemented?

chemzqm commented 2 years ago

Should be not.

allan-simon commented 1 year ago

@chemzqm @RealSaltyFish you may want to check this https://github.com/tzachar/cmp-tabnine/issues/67 as I think i'm onto something on how to get it to work :)