Basically registerCompletionProvider for notebook cell schema and use the kernel to get autocomplete data.
This is independent of getting the LS to understand notebooks.
Interesting, I thought we didn't want this as it was slow, hence the reason to disable Jedi in Jupyter.
Not saying I don't like this, but confused why Jedi was disabled if we want to enable this functionality.
Jedi isn't required for autocomplete in jupyter. It works without it.
+1 Yes the lack of AutoComplete / Intellisense is frustrating. The python extension for VSCode needs to make this a high priority.
@cpoptic just to be clear this is referring to these notebooks:
https://github.com/microsoft/vscode/issues/91987 (which you can use with the insider's version of VS code and the insider's version of the python extension).
For our older notebook editor, autocomplete should already be working (and already using Jupyter autocomplete).
@rchiodo Yes, I've got both the original VS code editor and the Insider's Version installed.
The original editor does not have autocomplete for Python in Jupyter notebooks.
I've edited the settings.json
I also disabled the Python VSCode extension and followed the suggestion to use a temporary fix of Pylance extension in lieu of the Python extension :
[https://devblogs.microsoft.com/python/announcing-pylance-fast-feature-rich-language-support-for-python-in-visual-studio-code/]
Still no suggestions or autocomplete.
Only using the ctrl+space brings up a list of suggestions, but this only happens if that key sequence is explicitly entered; no auto-suggestions as you type. I'm at a loss. Any recommendations?
@cpoptic can you log a separate issue? The old editor should work fine with pylance.
Most helpful comment
+1 Yes the lack of AutoComplete / Intellisense is frustrating. The python extension for VSCode needs to make this a high priority.