Skip to content

Diagnostics linger in problems panel after closing untitled Jupyter Notebooks #734

@anthonykim1

Description

@anthonykim1

I've noticed that there are stale error/warnings that show up in the problems panel when I close an VS Code Native REPL editor tab.
If you see the video you will notice that the diagnostics from Pylance will disappear right away when I close the Native REPL window but the ones from ruff will remain.

Screen.Recording.2025-04-02.at.12.38.54.PM.mov

I realized that there are two ways extension provide/interact with diagnostics when it comes to communicating with VS Code.

/cc @rchiodo @amunger

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnotebookRelated to (Jupyter) notebooks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions