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

Expression auto-completion doesn't work in if multi-line expressions

Open elbrenn opened this issue 2 years ago • 2 comments

Describe the bug Expression auto-completion doesn't work in if multi-line expressions

Happens only for if where we accept expressions without expression markers.

To Reproduce Steps to reproduce the behavior: See screenshot below no complete suggestions

Expected behavior A clear and concise description of what you expected to happen.

Screenshots Image Extension Version 0.25.3

Additional context Add any other context about the problem here.

elbrenn avatar Apr 03 '23 20:04 elbrenn

"This happens because of the transformation code that we run before auto-completion. At that point we don't know if we're in a multi-line string and therefore add : to the end of the line. That interferes with the expression auto-completion code since suddenly it'll see a stray : at the end of the line."

elbrenn avatar Apr 03 '23 20:04 elbrenn