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= ["bar"]
foo[0],# Cursor goes here
Adding a space does not expand here
foo= ["bar"]
foo[0], # Cursor goes here
And of course if foo[0] is in the middle of an existing expression then do not do assignment. e.g. return foo[0] wouldn't want to expand to return foo[0] = 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[0] to be assigned. 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[0] is in the middle of an existing expression then do not do assignment. e.g.
return foo[0]
wouldn't want to expand toreturn foo[0] =
accidentally.The text was updated successfully, but these errors were encountered: