PowerShell / EditorSyntax

PowerShell syntax highlighting for editors (VS Code, Atom, SublimeText, TextMate, etc.) and GitHub!
MIT License
133 stars 45 forks source link

Parameter of method in string expanded parenthetical expressions not recognised #72

Closed Cirzen closed 6 years ago

Cirzen commented 6 years ago

If referring to a property/method of an object returned as part of a method call within a $(....) unit within a double quoted string, that property is recognised as text instead. e.g. in the following: Write-log "Error updating : $($_.Exception.GetBaseException().Message)" The final ".Message" is matched in a different colour to "Exception" and "GetBaseException"

image

Cirzen commented 6 years ago

Duplicate of #59