github / github/vscode-github-actions

Problems panel shows problems in virtual and read only file

未關閉
#217 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
TypeScript
星號
660
分支
213
PR 合併指標
30 天內沒有已合併 PR

描述

**Describe the bug**

The problems panel is showing problems in a virtual and read only file:

image

When I copy the problem and paste the contents into a new file, I see this:

```
"resource": "/commit~cf17f9d0/.github/workflows/build.yml",
"owner": "_generated_diagnostic_collection_name_#3",
```

`/commit~cf17f9d0/.github/workflows/build.yml` is not a real file (at least not in my project's directory).

When I click on one of these problems to open the file and then I try to make changes, VS Code reports that it's a read only file:

image

The problems disappear when I uninstall or disable the extension.

The problems re-appear when I re-install or re-enable the extension.

**To Reproduce**
Unfortunately I don't have steps to reproduce this. I'm not sure how it happened.

**Expected behavior**
Problems should only appear for real files.

**Screenshots**
See above.

**Extension Version**
`v0.25.7`

**Additional context**

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。