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
But not if followed by further qualifiers such as ,
foo= {}
foo["bar"],# Cursor goes here
Adding a space does not expand here
foo= {}
foo["bar"], =# Cursor goes here
And of course if foo["bar"] is in the middle of an existing expression then do not do assignment. e.g. return foo["bar"] wouldn't want to expand to return foo["bar"] = accidentally.
The text was updated successfully, but these errors were encountered:
It is now partially fixed. I say partially because for now, the only way I found to resolve this issue is by not adding an = if a comma exists in the line.
Allow for simple foo["bar"] to be mutated. e.g.
Would expand to
But not if followed by further qualifiers such as ,
Adding a space does not expand here
And of course if foo["bar"] is in the middle of an existing expression then do not do assignment. e.g.
return foo["bar"]
wouldn't want to expand toreturn foo["bar"] =
accidentally.The text was updated successfully, but these errors were encountered: