Open
Description
When using the PowerShell Subexpression operator $()
in the contents of a non-literal string ""
, the contents of the expression should revert to a non-string syntax highlighting.
Currently, parts are highlighted correctly (like type references, variables, and function calls), but member references and function parameters are still highlighted as if they were part of the string.
Replicated in the following:
"An example string generated on $([Net.Dns]::GetHostByName($env:ComputerName).Hostname) at $(Get-Date -Format HH:mm)"