Skip to content

Possible update to syntax highlighting for ?? ??= ?. ?[] operators #185

Open
@adityapatwardhan

Description

@adityapatwardhan

Environment

  • Editor and Version (VS Code, Atom, Sublime):
  • Your primary theme: Dark

Issue Description

New feature added to PowerShell PowerShell/PowerShell#10636 for null coalescing operators.
New feature added to PowerShell PowerShell/PowerShell#10960 for null conditional member access.

Screenshots

Expected Behavior

Code Samples

$x ?? $y
$x ??= 10

${x}?.name
${x}?[0]
${x}?.MyMethod()
${x}?.name = 'myname'
${x}?['item'] = 'value'

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