You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expect that only the $(...) expression is blue, but i see the bitbucket... also in blue, expect that to be in light brown like the first part of the string
Extension version: 1.12.1
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:27:14.102Z)
OS version: Windows_NT x64 10.0.16299
System Info
Item
Value
CPUs
Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (8 x 1896)
Nick James (@omniomi), I never noticed this before, I long ago cleaned this up while experimenting, but #doubleQuotedString includes both #variableNoProperty and #variable. Also, #variableNoProperty possesses a match pattern that would include some variations of @scope:variable.
I will try to shortly post a PR for these apparent mistakes/oversights.
Activity
rjmholt commentedon Apr 23, 2019
Thanks for reporting this issue Gerald Britton (@gbritton1). The grammar for PowerShell syntax highlighting is maintained in the Editor Syntax repo
msftrncs commentedon Apr 24, 2019
This has been reported before as #149, and mentioned in #137 (regarding rewriting the variable logic), if not earlier.
PR #155 and #156 do not exhibit this error.
Nick James (@omniomi), I never noticed this before, I long ago cleaned this up while experimenting, but
#doubleQuotedStringincludes both#variableNoPropertyand#variable. Also,#variableNoPropertypossesses a match pattern that would include some variations of@scope:variable.I will try to shortly post a PR for these apparent mistakes/oversights.
fixes PowerShell#149, PowerShell#164
Fixes @splatting in double quoted strings (#165)