Skip to content

Properly highlight splatting operator in quotes #1502

Closed
@stoinov

Description

@stoinov

Issue Description

I am experiencing a problem with the highlighting of the splatting operator in quotes. Here is an example:
"Some text with @splatting"
This should be displayed with the normal color for quoted text, but instead is highlighted as variable, which is confusing.

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.15063
VSCode 1.26.1
PowerShell Extension Version 1.8.3

PowerShell Information

Name Value
PSVersion 5.1.15063.1155
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.15063.1155
BuildVersion 10.0.15063.1155
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
gc-excelviewer GrapeCity 2.1.26
markdown-all-in-one yzhang 1.6.0
mssql ms-mssql 1.4.0
partial-diff ryu1kn 1.3.0
PowerShell ms-vscode 1.8.3
rest-client humao 0.19.1
spellright ban 2.5.32
vscode-markdownlint DavidAnson 0.20.0
xml DotJoshJohnson 2.3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions