microsoft / microsoft/vscode-mypy

Problems disappear temporarily when file is closed and reportingScope is set to workspace

Open
#117 4 comments 0 reactions 0 assignees View on GitHub
bug needs PR
Dominant language
Python
Stars
150
Forks
39
Avg merge
21h 45m
Merged PRs (30d)
8

Description

I think this might be controlled by VS Code but filing it here just in case.

When "mypy-type-checker.reportingScope" is set to "workspace" and you have multiple files with problems reported by mypy, closing the files will make them disappear from the problems window temporarily. Once you open another file, it shows back up.

https://github.com/microsoft/vscode-mypy/assets/45497113/a3323846-d698-4895-b057-469a48bb2d01

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report with mypy-type-checker.reportingScope set to workspace, multiple files with mypy problems, and the files closed. Check whether reopening another file restores the Problems view and determine whether the behavior belongs to vscode or this extension; done means the problems remain visible or ownership is established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.