-
Notifications
You must be signed in to change notification settings - Fork 292
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
jupyter does not provide correct completion suggestions #10159
Comments
thanks for the bug. To repro, I had to run a cell first to start the kernel. Still happens in the latest insiders |
I can't find this setting in both latest stable and pre-release version. However, this setting exists in the latest source code on Github. Should I compile it from the source code and install? Or is there another way to set environment variable |
Sorry there's no way to disable jupyter completions at the moment. The latest prerelease version should have this setting though: This is the latest version: |
Thank you very much, it works for me! |
If you notice any slowdowns when executing, you might have to disable that setting. It tells the kernel to use Jedi for completions, but Jedi has performance issues. |
When this setting is enabled, a new problem pops up. |
That's on purpose. Jupyter returns all magics and file names when quoting something. |
Perhaps consider adding a setting to disable jupyter completions. |
@Micro-sheep I've tested this at my end and this works as expected. If this still doesn't work, please do ping here and i'll reopen this issue or please feel free to create a new issue |
I have installed the latest version of the three extensions you mentioned, but it still does not work as expected when typing in jupyter. Note: it works as expected when starting jupyter, but after I run a cell, it won't work as expected anymore. Env
Actual behaviour |
Duplicate of #12029 |
Environment data
Expected behaviour
When typing
as
in.ipynb
file, there should not be any suggestion just like typing in.py
file .Actual behaviour
When typing
as
in.ipynb
file, the icon foras
is wrong and there are completion suggestionsSteps to reproduce:
.ipynb
file in vscodeimport requests as r
in python cellThe text was updated successfully, but these errors were encountered: