I am using Jupyter Notebook inside VSCODE and was happy with it untill I found out this issue.
The autocompletion seems not to be working well inside Notebooks compare to regular Python script as shown on the image below.
If someone already faced this problem or have any ideas, any info will be welcomed. Thanks
I guess you've not installed ipykernel
package. You can install it like that
pip install ipykernel
Please try to install the extension "Pylance" in VS Code and use the language service provided by "Pylance": use it in the " settings.json " of VS Code:
"python.languageServer": "Pylance",
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.