Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diagnostics not cleared when file is closed #376

Open
OmarTawfik opened this issue Aug 20, 2024 · 0 comments
Open

diagnostics not cleared when file is closed #376

OmarTawfik opened this issue Aug 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@OmarTawfik
Copy link

The extension doesn't clear the editor diagnostics for a specific file when the file is closed, and diagnostics are persisted until the entire editor is closed, or the window reloaded.

For false-positives/non-issues like the one reported in #375, that means that whenever I open a workflow/action .yml file, the "Problems" pane is populated with non-actionable diagnostics, and I have no way to clear it unless I close the .yml file and reload the editor or the extension host.

Expected behavior:
The extension clears all diagnostics related to a file when it is closed, and only display diagnostics for actively opened files.

@OmarTawfik OmarTawfik added the bug Something isn't working label Aug 20, 2024
@muzimuzhi muzimuzhi mentioned this issue Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog 🗒
Development

No branches or pull requests

1 participant