Skip to content

Future: Ternary Operator Highlight #1057

Open
@msftrncs

Description

@msftrncs

I am already testing the future release of PowerShell 7 with support for ternary operator. At present, neither the ? or the : are highlighted special.

Should they be?

Currently, ? is default flagged as TokenFlags TernaryOperator, but : is only default flagged SpecialOperator. To be correctly able to highlight both, : probably needs to be conditionally flagged with TernaryOperator.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions