EditorSyntax icon indicating copy to clipboard operation
EditorSyntax copied to clipboard

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

Open phatmandrake opened this issue 7 years ago • 3 comments

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.

phatmandrake avatar Nov 19 '18 18:11 phatmandrake

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

keith-hall avatar Nov 19 '18 18:11 keith-hall

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.

phatmandrake avatar Nov 19 '18 19:11 phatmandrake

@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.

omniomi avatar Nov 19 '18 20:11 omniomi