PowerShell / EditorSyntax

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

Colorization for variables bleeding into methods and properties accessed using dot notation after VSCode Update #150

Open phatmandrake opened 5 years ago

phatmandrake commented 5 years ago

Environment

Version: VSCode 1.29.1 Platform: Windows 10/MacOS Mohave Theme: Powershell ISE

Issue Description

After updating VSCode, syntax highlighting for variables in Windows now bleeds into methods and properties accessed using dot notation. On MacOS the colorization shows it as being seen as a cmdlet/function/program.

Screenshots

Windows 10 image

MacOS Mojave image

If the variable is wrapped in parentheses it colorizes as normal, or at least as I anticipate.

Windows 10 image

MacOS image

I've tried different themes and it persist this way.

keith-hall commented 5 years ago

this looks like a duplicate of https://github.com/PowerShell/EditorSyntax/issues/107 to me

phatmandrake commented 5 years ago

this looks like a duplicate of #107 to me

Hmm this wasn't an issue until 1.29.1 for me, but I'm guessing it's related.

omniomi commented 5 years ago

@phatmandrake the changes were made back in July. They were released in VS Code, pulled for some reason, and then re-released in 1.29.1. As such there are older duplicate issues.

Nothing has changed except for minor bug fixes for a few months.