foo = """
foo = "ala bala"
That would be pretty useful. I'll see what I can do about it this weekend.
The latest version now supports multiline strings in coffee. I'll see about adding support in other filetypes further down the line.
I'm not sure if it is working as expected.
If you have foo = "bar" and the cursor is in the beginning of the line, it doesn't split. The cursor should be inside the string for it to work.
foo = "bar"
Yeah, that's intended. Consider this:
foo = "bar" if baz?
This could either split the if clause or the string. Of course, it makes sense to prioritize the if clause in this case, but how about this one:
foo = bar "baz", "qux"
Now there's two strings. Which one to split? The second one makes more sense, but it's getting a bit ambiguous here. I could add some additional logic to look for the construct "closest" to the cursor, but that's going to be complicated to implement. I'd rather have the rule "be inside the construct in order to split it".
Incidentally, the recently implemented ternary operator splitting may cause some problems in this regard, but I'll work on that some more.