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
{{ message }}
Repository navigation
Double-quoted strings treat @tokens as interpolations #149
I was looking at the possible test case, but I don't think it is sufficient, but I may not entirely understand how the test works. In my mind, the entire string will scope as spec'd, regardless of whether the @double scopes as a splat or not.
# @splat references only work in argument mode, should not highlight in strings."This is a @double quoted string."# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.quoted.double.powershell# ^ not:variable.other.readwrite.powershell
Activity
msftrncs commentedon Dec 16, 2018
This has been mentioned in #137.
fixes PowerShell#149, PowerShell#164
msftrncs commentedon Apr 24, 2019
I was looking at the possible test case, but I don't think it is sufficient, but I may not entirely understand how the test works. In my mind, the entire string will scope as spec'd, regardless of whether the
@doublescopes as a splat or not.msftrncs commentedon Apr 24, 2019
Looks like this is needed?
TylerLeonhardt commentedon Apr 24, 2019
That seems right, Carl Morris (@msftrncs). I would recommend running the test before and after your change to see if it fixes the test.
Fixes @splatting in double quoted strings (#165)