github / github/vscode-github-actions

Highlighting of multi-line `if` fields

Aberta
#333 4 comentários 4 reações 0 responsáveis Ver no GitHub
enhancement good first issue help wanted
Linguagem predominante
TypeScript
Estrelas
660
Forks
213
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**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](https://github.com/github/vscode-github-actions/assets/54282183/0cc5024b-50d1-4055-8739-333fa844de3a)
(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](https://github.com/github/vscode-github-actions/assets/54282183/be0cd7d5-d56f-4e95-9ca9-ae1333201dfc)

**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](https://github.com/github/vscode-github-actions/assets/54282183/73232a74-4eec-4820-aa77-3a9a07386b9c)

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.