Skip to content

Operators highlight in argument mode when not operators #1002

@msftrncs

Description

@msftrncs

Current behavior:
image

Operators highlight in argument mode, where they are not active as operators. This is caused by the PowerShell tokenizer changing the TokenKind after the parser realizes they should instead be Generic, but it does not clear the TokenFlags that identify the token as belonging to a class of operators.

Expected behavior: (sorry its in a different theme)
image

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