PowerShell / vscode-powershell

Provides PowerShell language and debugging support for Visual Studio Code
https://marketplace.visualstudio.com/items/ms-vscode.PowerShell
MIT License
1.71k stars 488 forks source link

Properly highlight splatting operator in quotes #1502

Closed stoinov closed 6 years ago

stoinov commented 6 years ago

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|;
stoinov commented 6 years ago

I just realized there is another repo for this kind of issues. Can we move it there or should I recreate it?

stoinov commented 6 years ago

Found a relevant issue that can track this. Closing.