github / github/vscode-github-actions
diagnostics not cleared when file is closed
- Langage dominant
- TypeScript
- Étoiles
- 660
- Forks
- 213
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par retracer la façon dont l’extension crée et met à jour les diagnostics des fichiers .yml de workflow/action ouverts, puis reproduisez le problème en en ouvrant et en fermant un. C’est terminé lorsque les diagnostics d’un fichier fermé sont effacés, tandis que les diagnostics des fichiers activement ouverts restent visibles.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- typescript, vscode
- Domaine
- devtools, tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100