Closed Time0o closed 3 years ago
This is probably also an issue with Python3.7. It's not yet supported. We're working on it.
I'm pretty sure this is better now, because Python 3.9 is now supported and Python 3.7 as well.
Feel free to open a new issue if this is still a problem for you.
Issue
Not sure if this is an issue with jedi-vim, jedi itself or my system setup but in many cases the preview window will not pop up and display function type hints for non-standard python modules, e.g. in my case
PyQt4
.Steps to reproduce
For the following snippet, when typing
self.
, available methods are displayed correctly, but when I select e.g.addAction
in the drop-down list, no preview window is displayed. However, I assume that information regarding the function parameters and return types is available to Jedi since PyCharm correctly infersdef addAction(self, action: QAction) -> None
in the same situation.Output of “:verbose JediDebugInfo”
Jedi-vim debug information
jedi-vim version
Global Python
Using Python version 3 to access Jedi.
3.7.0 (default, Jul 15 2018, 10:44:58), [GCC 8.1.1 20180531]
/usr/lib/python3.7/site.py
Jedi
/home/timo/.vim/bundle/jedi-vim/pythonx/jedi/jedi/__init__.py
Jedi environment: <SameEnvironment: 3.7.0 in /usr>
/usr/lib/python37.zip
/usr/lib/python3.7
/usr/lib/python3.7/lib-dynload
/usr/lib/python3.7/site-packages
Known environments
Settings
I don't know whether Python 2 should really be listed under
Known environments
.