github / github/vscode-github-actions
diagnostics not cleared when file is closed
- Vorherrschende Sprache
- TypeScript
- Sterne
- 660
- Forks
- 213
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Beginne damit nachzuverfolgen, wie die Erweiterung Diagnosen für geöffnete workflow/action .yml-Dateien erstellt und aktualisiert, und reproduziere dann das Problem, indem du eine davon öffnest und schließt. Erledigt ist es, wenn die Diagnosen für eine geschlossene Datei gelöscht werden, während die Diagnosen für aktiv geöffnete Dateien sichtbar bleiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript, vscode
- Bereich
- devtools, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100