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

Open
#150 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
powershell, vscode
Domain
tooling

Research direction

Reproduce the issue in VSCode 1.29.1 on Windows 10 and macOS Mojave using a variable followed by dot notation, then compare it with the parenthesized form and different themes. Done means variable colorization no longer bleeds into methods or properties and is not classified as a cmdlet, function, or program.

Written by the indexing model from the issue text.

Description

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.

Dominant language
PowerShell
Stars
151
Forks
55
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PowerShell/EditorSyntax

All issues in PowerShell/EditorSyntax

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.