github / github/vscode-github-actions

Expression syntax highlighting doesn't seem to respect comments

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

描述

**Describe the bug**

Here, this line should appear as a comment:

image

**To Reproduce**

Here's the text:

```yaml
update-rust-toolchain:
runs-on: ubuntu-latest
# Don't run on forks; will attempt to create a PR into the fork...

# if: ${{ !github.event.pull_request.head.repo.fork }}
```

**Extension Version**
`v0.25.6`

貢獻指南

開啟貢獻指南

研究方向

首先,使用擴充功能版本 v0.25.6 和報告中的 YAML 範例重現該問題,然後檢查擴充功能的語法醒目提示實作及任何相關測試。完成標準是:被註解的運算式行被醒目提示為註解,同時不破壞其他位置的運算式醒目提示;報告中未指定特定檔案或測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
typescript, vscode
領域
tooling
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
43/100

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

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