-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Jedi is stuck on loading after you preview the function document with the shortcut key #10895
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
Comments
Hi @1470391328, thank you for reaching out. When you say
Are those modules your own code, or packages you installed? For your issue with Could you provide a sample repo I could use to replicate your issue? Can you also try using the Microsoft Python Language Server (by setting Thanks! |
Thank you for your reply! I use Anaconda's Python environment, and all the packages come from anaconda. Microsoft language server works very well, and there is no similar problem. But because Microsoft language server doesn't support 'PYI' files and the CPU utilization is sometimes too high, I don't use Microsoft language server. For Jedi, the intelligent prompt seems to be stuck on pyqt5 package if you jump to its' PYI 'function document through the shortcut key |
Sorry for the late reply @1470391328! An interesting behaviour happened when I was trying to replicate your issue: I could jump to The Sadly I couldn't find a workaround at the moment (except for reloading the window and making sure that your settings also contain Can you try downgrading the extension to an earlier version (2020.2.64397 or 2020.1.58038) and see if the problem also appears? Thanks! |
I have tried different versions of Python extension (2020.2.63990-2020.3.71659). All versions have similar problems. In 2020.2.63990, although the intellisense snippets will be stuck in the loading state when you jump to pyqt5 library file, the "jump to definition" can work normally. |
Interesting 🤔 We updated the extension in Thank you for reporting your workaround to downgrade to |
This is a interesting Bug 😁. It's like a deep water 💣, |
@brettcannon @kimadeline |
Sorry we don't give ETAs. It is not forgotten, but not at the priority at the moment. |
😥 |
Can you try our insiders build and see if this is fixed? thanks! |
I can verify I still see this issue with Jedi. But this is not a issue for me with Pylance. Please try setting If you try out Pylance and this issue persists, you can open an issue on the pylance-release repo. |
Closing in favor of #10895 (comment) |
Version: 1.43.2 (system setup)
Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50
Date: 2020-03-24T07:38:38.248Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
#Bug : Jedi - intelisense
Some function documents that are not recognized by Jedi will cause Jedi to be stuck in the loading state for a long time. expecially for 'pyi' file.
Description:
For example , If you write the code, “from PyQt5.QtWidgets import QApplication” ,and through the shortcut key to view the function document of QApplication, Jedi will be stuck in the loading state. Of course, this problem is not limited to pyqt5 module. Some functions in other modules that are not recognized by Jedi will cause the same problem.
This really affects the programming experience. I hope you can fix it. Thank you.
Here is a GIF demo file:

The text was updated successfully, but these errors were encountered: