srusskih / SublimeJEDI

awesome Python autocompletion with SublimeText
MIT License
938 stars 109 forks source link

Absent `__init__.py` breaks autocomplete and goto functionality. #312

Closed ak4nv closed 4 years ago

ak4nv commented 4 years ago

Starting Python version 3.3 it uses Implicit Namespace Packages. This Python version has been included in the Sublime Text 3. But if an empty __init__.py isn't contained in the module autocomplete and goto definition doesn't work cause goto daemon returns an empty suggestions list.

srusskih commented 4 years ago

Looks like https://github.com/davidhalter/jedi is better place for this kind of issue.

ak4nv commented 4 years ago

@srusskih got you, thanks! :)

ak4nv commented 4 years ago

@srusskih It seems jedi's version is too old. https://github.com/davidhalter/jedi/issues/1516 Can you update it?

ak4nv commented 4 years ago

I've installed the package via package control. My current version of the package is 0.16 But in the .config/sublime-text-3/Packages/Jedi - Python autocompletion/dependencies/jedi folder in the __init__.py file I see:

__version__ = '0.14.1'
srusskih commented 4 years ago

they do not correlate. looks like I should release new version :)

srusskih commented 4 years ago

@ak04nv I have no idea how quick it would be available but here it is https://github.com/srusskih/SublimeJEDI/releases/tag/0.17.0