You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to more be more serious, something is wrong with the way parenthesis are inserted around expressions.
For example, simple ternary expression:
b=a?b*2:b*3
gets formatted as
b=a? (b*2) : (b*3)
then
b=a? ((b*2)) : ((b*3))
and each subsequent formatting keeps adding parentheses.
Is there at least an option to turn off parentheses around expressions at all ?
cyberbiont
changed the title
Parentheses added on variable + string concatenation
Multiplication of parentheses around expressions
Jul 11, 2020
when I use variable in require path, something like
parentheses are added every time on formatting, like this
then
etc.
I found a workaround is to as add empty string at the beginning
But I'm reporting it just in case.
The text was updated successfully, but these errors were encountered: