-
Notifications
You must be signed in to change notification settings - Fork 768
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
Autocomplete suggestions for import don't work without entry in __init__.py #359
Comments
Any update on this issue ? |
Could you provide more information or perhaps a self-contained example of the problem? I can't tell from your description or the animated gifs what you mean by "without entry in init.py". |
@erictraut I've attached example code for the problem. Simply put, the difference between Jedi and Pylance, when trying to import the file |
Thanks for the example — very helpful. I've diagnosed and fixed the problem. The bug fix will be included in the next release. |
This issue has been fixed in version 2020.10.2, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#2020102-21-october-2020 |
Thanks @erictraut @jakebailey |
Environment data
Expected behaviour
Autocomplete suggestion for import should be shown during typing even without entry in
__init__.py
.This is the behaviour when using Jedi.
Actual behaviour
Without entry in
__init__.py
, autocomplete suggestion is showed with Ctrl+Space but not while typing.The text was updated successfully, but these errors were encountered: