Skip to content

powershell ext - colorizer has issues with quoted string containing @ #216

@mlhickey

Description

@mlhickey

Using VSC 1.3.0-insider and PowerShell 0.6.1. The colorizer portion exhibits odd behavior then a quoted string contains the @ character. The behavior changes depending on whether single- or double-quote character is used, but both are incorrect/

  1. Edit/create .ps1 file with multiple lines of code, add line like $next = $jsonObj.'@odata.nextlink'
    colorizer-bug.ps1.txt
    in body
  2. Notice incorrect coloration of remaining code
  3. Change single quote to double quote like $next = $jsonObj."@odata.nextlink"
  4. Notice incorrect coloration of remaining code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions