-
-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete completion with PyQt5 #1287
Comments
Can you run this with |
|
Sorry, this is probably an issue with how PyQT5 describes its objects. Extension module completion can only be so good, because we don't have all the information. If you want to make this better, please try. But I won't. It's just not worth it. The answer for this is creating good stubs. So please wait for the issue #839 to be fixed. And then you can use https://github.com/stlehmann/PyQt5-stubs. |
Until this has been fixed, adding |
Still no completion after adding. But if this is PyQt's issue why it working fine with previous version of jedi? |
I have no idea :) There might be issues with a lot of different things. If you didn't try for a while PyQT5 might have changed. Also auto_import_modules might not work properly. There might have been changes between 0.12 and 0.13 that made loading extensions more secure. There might have been changes that broke something. I really don't know and I'd be very grateful if you started to investigate. The point of investigation is usually |
BTW I just thought a bit about this and realized that we introduced Also does completion on |
With this script in jedi 0.13 completion contains all methods :/. |
Hmm it might have something to do with loading |
Tested it again on 14.1 and it works - now completion is same as in 12.1 version. |
So I guess we're done here. :) I feel like I know now which bug caused this. |
I have a trouble with Jedi 0.13.2 and PyQt5 - it does not shows completion for parent's methods. Jedi 0.12 works fine. There is a code to illustrate the bug:
Jedi 0.12:
There are 355 candidates in completion list, i upload whole list on pastebin - here.
Jedi 0.13 with same code gives only 27 candidates - here
The text was updated successfully, but these errors were encountered: