Skip to content

Does not work in VS Code Jupyter notebook #8528

@han-steve

Description

@han-steve

Describe the bug
While Pyright works perfectly in .py files, it doesn't activate in a jupyter notebook. Most online searches point me to setting "python.languageServer": "Pylance", but I don't have Pylance since I'm running on an open source build.

Code or Screenshots
Open a jupyter notebook and type

import math
math.sqrt()

Hover over sqrt to show doc string, nothing happens. However, using pyLance with the MS VS Code, it works.

VS Code extension or command-line
Using VS Code extension. Running on code server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    as designedNot a bug, working as intendedbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions