actions / languageservices

Language services for GitHub Actions workflows and expressions.
MIT License
71 stars 25 forks source link

Diagnostics for closed files still remain in "Problems" tab #93

Open KevinEady opened 3 months ago

KevinEady commented 3 months ago

Describe the bug

When opening a file with diagnostics, the problems are displayed on the "Problems" tab in the editor. However, closing the file does not remove the entries from the "Problems" tab.

To Reproduce

Steps to reproduce the behavior:

  1. Open a GitHub Actions .yml file that has diagnostics.
  2. Close file.

Expected behavior

The diagnostics are removed from the "Problems" tab.

Screenshots

https://github.com/user-attachments/assets/60bd1309-dd90-4e2b-b877-67c550d630c2

Package/Area

Package Version

v0.3.11