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 not suggesting auto completions #72

Closed IPWright83 closed 3 years ago

IPWright83 commented 3 years ago

Issue Details: TabNine stops working - there are no suggestions in the auto complete:

Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 627, in on_activated_async
    callback.on_activated_async(v)
  File "/home/iw651/.config/sublime-text-3/Packages/TabNine/completions/completions_v2.py", line 204, in on_activated_async
    }
  File "/home/iw651/.config/sublime-text-3/Packages/TabNine/tab_nine_process.py", line 116, in request
    req += '\n'
AttributeError: 'NoneType' object has no attribute 'dumps'
dimacodota commented 3 years ago

@IPWright83 can you please open the Sublime Console (View -> Show Console) and run the following code: import json; json.__file__ ?

IPWright83 commented 3 years ago

I get this output

>>> import json; json.__file__
'/opt/sublime_text/python3.3.zip/json/__init__.pyo'
dimacodota commented 3 years ago

Thank you @IPWright83 . I will keep you posted. does it reproduce after restart?

davidhariri commented 3 years ago

Seeing this too. No completions.

davidhariri commented 3 years ago

Thank you @IPWright83 . I will keep you posted. does it reproduce after restart?

Restarting Sublime doesn't seem to solve.

dimacodota commented 3 years ago

@IPWright83 , @davidhariri - I wasn't able to reproduce the issue, however, version 3.0.7 is trying to fix it, please confirm if the issue is resolved. Thanks

davidhariri commented 3 years ago

@IPWright83 , @davidhariri - I wasn't able to reproduce the issue, however, version 3.0.7 is trying to fix it, please confirm if the issue is resolved. Thanks

The most recent update has resolved my issue. Thanks @dimacodota 👏

dimacodota commented 3 years ago

Great! closing the issue

ghost commented 2 years ago

What about parameter/argument doc suggestions? Is this even a feature with TabNine? Because tab + anything or nothing does not work in any IDE or TE in any way, shape, or form whatsoever.