codota / tabnine-sublime

Tabnine Autocomplete AI: JavaScript, Python, TypeScript, PHP, C/C++, HTML/CSS, Go, Java, Ruby, C#, Rust, SQL, Bash, Kotlin, Julia, Lua, OCaml, Perl, Haskell, React
https://www.tabnine.com/install/sublime
MIT License
194 stars 36 forks source link

TabNine auto completions not working #69

Closed IPWright83 closed 3 years ago

IPWright83 commented 3 years ago

please complete the following information:

I've been talking with @dimacodota already, but essentially tab is only auto-completing the first result before then falling back (I think) to sublime autocomplete.

There's also this in the logs:

Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 478, in run_callback
    expr()
  File "/opt/sublime_text/sublime_plugin.py", line 619, in <lambda>
    run_callback('on_activated', callback, lambda: callback.on_activated(v))
  File "/home/iw651/.config/sublime-text-3/Packages/TabNine/completions/completions_v2.py", line 91, in on_activated
    view.window().status_message("TabNine")
AttributeError: 'NoneType' object has no attribute 'status_message'
git: tracking working dir /home/iw651/src/mobileApp/myuoy
no such context scope:source.groovy#prototype at line 9 column 16 in Packages/zzz A File Icon zzz/aliases/Groovy (Gradle).sublime-syntax
Exception while interacting with TabNine subprocess: No JSON object could be decoded
TabNine: starting version 3.1.5
dimacodota commented 3 years ago

released in 3.0.5

IPWright83 commented 3 years ago

@dimacodota should I still be seeing none TabNine suggestions in this list?

image

dimacodota commented 3 years ago

@IPWright83 If you mean the Instanceof keyword? then yes, it was intentional, not to remove existing completion contributors

IPWright83 commented 3 years ago

@dimacodota yeah, I was surprised that the let and keyword options were in there. I guess this is how you enable the snippet functionality by leaving those present?

dimacodota commented 3 years ago

yes, exactly