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`

贡献指南

打开贡献指南

调研方向

Start by reproducing the issue with the YAML example in the report using extension version v0.25.6, then inspect the extension's syntax-highlighting implementation and any related tests. Done means the commented expression line is highlighted as a comment without breaking expression highlighting elsewhere; no specific file or test is named in the report.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript, vscode
领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
43/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。