github / github/vscode-github-actions

diagnostics not cleared when file is closed

オープン
#376 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
660
フォーク
213
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、拡張機能が開かれている workflow/action .yml ファイルの診断をどのように作成・更新しているかを追跡し、その後、1 つを開いて閉じることで問題を再現します。完了条件は、閉じたファイルの診断がクリアされ、現在開いているファイルの診断は表示されたままになることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript, vscode
領域
devtools, tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。