We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a powershell script with this line (part of a loop looking for @xxx@ tokens in a file.
$key = '@' + $_.Key + '@'
This is being interpreted as starting a here-string so everything after that in the file has the wrong syntax highlighting.
The text was updated successfully, but these errors were encountered:
Workaround is to add a comment char or whitespace at the end of the line. The issue appears to be having a line ending with @'$.
@'$
Sorry, something went wrong.
I've also noticed this issue, even when the at sign is backtick-escaped. Something like
Write-Host "`@"
will continue syntax highlighting for a string until the next quotation mark, even though that's actually the beginning of a different string.
No branches or pull requests
I have a powershell script with this line (part of a loop looking for @xxx@ tokens in a file.
This is being interpreted as starting a here-string so everything after that in the file has the wrong syntax highlighting.
The text was updated successfully, but these errors were encountered: