vscode-github-actions icon indicating copy to clipboard operation
vscode-github-actions copied to clipboard

Highlighting of multi-line `if` fields

Open DGCK81LNN opened this issue 1 year ago • 4 comments

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

DGCK81LNN avatar May 28 '24 11:05 DGCK81LNN

This would be nice. I don't know the complexity of the work, as usual, if someone makes a PR, we'd be happy to review it, but I don't think we have the capacity to spend time on it at the moment.

felipesu19 avatar May 31 '24 19:05 felipesu19

Hi @felipesu19 & @DGCK81LNN ! i would like to solve this issue , i would appreciate more context on this issue and also is it still the case where you need this issue to be solved as it has been over a yr and half since this issue was added . thank you .

Janmesh23 avatar Oct 20 '25 18:10 Janmesh23

@Janmesh23 This should be fixed with #468, contributed by @cdce8p.

In other words, this is a duplicate of #224.

muzimuzhi avatar Oct 20 '25 20:10 muzimuzhi

@Janmesh23 This should be fixed with #468, contributed by @cdce8p.

In other words, this is a duplicate of #224.

okay thanks ! is there any similar issue which needs to be done and is not assigned yet , i will try to do that too

Janmesh23 avatar Oct 20 '25 20:10 Janmesh23