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