Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adityapatwardhan opened this issue Oct 11, 2019 · 1 comment

Comments

@adityapatwardhan
Copy link
Member

adityapatwardhan commented Oct 11, 2019

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'
@TylerLeonhardt
Copy link
Member

My recommendation is to see what their TextMate scopes are today and see if they make sense.

From the code samples they look good so you might get away with not having to do any work.

@adityapatwardhan adityapatwardhan changed the title Possible update to syntax highlighting for ?? and ??= operators Possible update to syntax highlighting for ?? ??= ?. ?[] operators Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants