github/vscode-github-actions

Highlighting of multi-line `if` fields

開放

#333 建立於 2024年5月28日

 (4 則留言) (3 個反應) (0 位負責人)TypeScript (204 個分叉)auto 404
enhancementgood first issuehelp wanted

倉庫指標

星標
 (656 顆星)
PR 合併指標
 (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. image (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. image

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: image

貢獻者指南