codota / tabnine-nvim

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

[BUG] Tabnine does not give suggestion when there is no code written #153

Closed Maduki-tech closed 6 months ago

Maduki-tech commented 6 months ago

Describe the bug A clear and concise description of what the bug is. When I start writing my code. I expect it to show me some suggestions before I start typing. (Like in Github Copilot)

Also when I try to reproduce the Example in the GIF where you can write a comment and then it should autocomplete it with a suggestion, this suggestion never comes up for me

To Reproduce Steps to reproduce the behavior: let's say I have this function in Java:

    public static void bubbleSort(int[] array) {
    }

I expected it to give me some hints on how to start with it.

  1. I will create a new line in the function
  2. I will wait for the suggestion to show.

Also if I give it some comments like //Write me a bubble sort

it will not work

Expected behavior A clear and concise description of what you expected to happen. I expect the suggestion to be shown.

Version Info:

amirbilu commented 6 months ago

Hi @Maduki-tech are you a Pro user? Did you log in? Please share a video of what you're experiencing

Maduki-tech commented 6 months ago

Hello @amirbilu Yes I'm a Pro user. After a bit of Programming, it seems to work. (at least for the Java part)

I work on a Lua Project, there it will not show the Autocomplete anymore

amirbilu commented 6 months ago

Please share a video/project Im using Tabnine for project :)