vscode-jupyter: Jupyter notebook missing descriptions in intellisense recommendations.

Environment data

  • VS Code version: 1.50.1
  • Extension version (available under the Extensions sidebar): python extension v2020.10.332292344
  • OS and version: ubuntu 20.04 lts
  • conda version : 4.8.3
  • conda-build version : 3.18.11
  • python version : 3.8.3.final.0
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda (set to base env)
  • Relevant/affected Python packages and their versions: XXX
  • Relevant/affected Python-related VS Code extensions and their versions: python extension v2020.10.332292344
  • Value of the python.languageServer setting: Jedi
  • Jupyter server running: Local

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]

Expected behaviour

Descriptions shown for python files. Screenshot from 2020-10-30 20-47-52

Actual behaviour

No descriptions are shown for intellisense recommendations for jupyter notebooks. This is seen for all recommendations made by intellisense.

Screenshot from 2020-10-30 20-53-14

Switching to pylance language server has the same issue as above. Switching to the microsoft language server causes intellisense to not work at all for jupyter notebook files.

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. XXX

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 2
  • Comments: 16 (8 by maintainers)

Most upvoted comments

ay I know if this feature (and new look of Jupyter notebook in VS Code) will eventually make it to the “main” VS Code application?

Yes it will

This should be working now:

image

So glad I found this issue being raised, thank you so much for the solution and work @DonJayamanne! May I know if this feature (and new look of Jupyter notebook in VS Code) will eventually make it to the “main” VS Code application?

Have a great year ahead to you and the team! 🎉

@DonJayamanne I installed extension “Pylance”, typed in settings.json : “python.languageServer”: “Pylance” and now i can see docstring! Thank you for the help. (It was all performed in latest version of VS Code Insiders).

@perepelart @kunalchaturvedi Thanks for reporting this issue. I have confirmed that this is not supported. Please consider using the Native Notebook (see here for more for). To use the new Native Notebook, simply install VS Code Insiders and you’ll get that new UI.

Thanks for reporting @kunalchaturvedi. I was able to repro it with Pylance, the descriptions don’t appear on notebooks. We’ll discuss this in our next meeting.