codota / tabnine-nvim

Tabnine Client for Neovim
https://tabnine.com
342 stars 31 forks source link

What does the "tabnine" virtual text do? #146

Closed bfulop closed 8 months ago

bfulop commented 8 months ago

Hello,

I've been trying out Tabnine in Neovim, so far it works great, including the chat feature!

Sometimes I see the Tabnine virtual text appear next to my code even in Normal mode. I was wondering about its signification?

BalintFulop 2024-01-22--14-48-31

Thank you!

amirbilu commented 8 months ago

Hi @bfulop great question. I understand the ux around it is not great. This means you can ask Tabnine Chat about this scope, using :TabnineExplain :TabnineFix etc..

See https://github.com/codota/tabnine-nvim?tab=readme-ov-file#tabnine-chat---beta

bfulop commented 8 months ago

Thanks for the clarification!

Actually it did made me intuitively open the chat and apply the suggested fixes! So after all the tabnine hint did work as intended. I just wasn't 100% sure about its purpose. I will now be paying more attention to it and see what improvements it suggests.