vscode-github-actions
vscode-github-actions copied to clipboard
Expression auto-completion doesn't work in if multi-line expressions
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
Extension Version
0.25.3
Additional context Add any other context about the problem here.
"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."