github / github/vscode-github-actions
Highlighting of multi-line `if` fields
- 主要语言
- TypeScript
- 星标
- 660
- 派生
- 213
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Is your feature request related to a problem? Please describe.**
I often use a complex `if` field to enable smart skipping of the `push` event trigger.

(note that without the `${{ }}` the editor yields a syntax error saying `Unexpected symbol: '=='`. Adding a space after the initial `!` seems to eliminate the error, but I'm not sure if that works (#290).)
Writing it like that looks horrible so I format it as a multi-line string, but then the syntax highlighting is broken.

**Describe the solution you'd like**
It would be really nice to have syntax highlighting for multi-line expressions. It would look something like this:

贡献指南
调研方向
No file, test, or entry point is named in the issue. Start by locating the extension's syntax-highlighting implementation and any tests for GitHub Actions expressions, then compare current highlighting with the requested multi-line example. Done means multi-line expressions are highlighted correctly without breaking existing highlighting.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- devtools
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100