github / github/vscode-github-actions

diagnostics not cleared when file is closed

Aberta
#376 0 comentários 1 reação 0 responsáveis Ver no GitHub
bug
Linguagem predominante
TypeScript
Estrelas
660
Forks
213
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by tracing how the extension creates and updates diagnostics for opened workflow/action .yml files, then reproduce the issue by opening and closing one. Done means diagnostics for a closed file are cleared while diagnostics for actively opened files remain visible.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
typescript, vscode
Domínio
devtools, tooling
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
48/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.