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

Please add ligatures for augmented assignment operators in Javascript #651

Open
PeterCullenBurbery opened this issue Nov 12, 2023 · 1 comment

Comments

@PeterCullenBurbery
Copy link

I used https://github.com/JetBrains/JetBrainsMono/wiki/List-of-supported-symbols as a reference. I also used https://www.w3schools.com/js/js_assignment.asp as a reference.
Please add ligature for the following augmented assignment operators in Javascript:

  • +=, the addition assignment operator

  • -=, the subtraction assignment operator

  • *=, the multiplication assignment operator

  • **=, the exponentiation assignment operator

  • The division assignment operator /= already has a ligature, so that's good.

  • %=, the remainder assignment operator

  • the left shift assignment operator <<= is already implemented

  • the right shift assignment operator (signed) >>= is already implemented

  • the unsigned right shift assignment operator >>>=

  • the bitwise AND assignment operator &= is already implemented

  • the bitwise OR assignment operator |=

  • the bitwise XOR assignment operator ^=

  • the logical AND assignment operator &&=, new in ES2020

  • the logical OR assignment operator ||=, also new in ES2020 is already implemented

  • the nullish coalescing assignment operator ??=, also new in ES2020
    Thank you for your consideration.

@AmeroHan
Copy link

AmeroHan commented Nov 28, 2023

In my point of view, due to centered plump operators, the sequences +=, -=, *= and **= in JetBrains Mono already look pretty. There is no noise to reduce and no whitespace needing balancing. It is overdesigning to add ligatures for them.

You might have missed it, but ligatures of |= and ^= also exist.

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