atom-community / atom-community/ide-python

Warnings and errors not cleared on file closed

Open
#136 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
238
Forks
40
PR merge metrics
No merged PRs in 30d

Description

When one opens a python file that triggers errors and warning form linters, and the file is closed, the warnings and errors are not cleared from the Diagnostics panel until all python files are closed.

This behaviour pollutes the panel, specially when one opens a file from a third party library one can not modify.

Errors and warnings should be cleared for each closed file.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Reproduce the issue by opening a Python file with linter warnings or errors, closing it, and observing the Diagnostics panel; trace the file-close handling and diagnostics cleanup. Done means diagnostics for each closed file are removed without requiring all Python files to close.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.