for example, when writing tests for mocha using should, I type something like
it('should work',function(done){
and I see on the screen:
it('should work',function(done){
)
but I expect
it('should work',function(done){
})
That is, the inner curly brace doesn't get matched up.
Second, if one types:
somefunctn(foo)
and then you realize a mistake and start backspacing over "foo" to fix the function call, for example, the mirror mode doesn't eat the matching ")" when you delete the "(". Ditto for everything else that is automatic (like quote marks).
I usually use autopair-mode, in everything but JS. Autopair tends to work, but sucks terribly for some reason when editing using js3-mode, so I switched it off and have been trying js3 mirror mode.
The mirror mode functionality isn't quite right.
for example, when writing tests for mocha using should, I type something like
and I see on the screen:
but I expect
That is, the inner curly brace doesn't get matched up.
Second, if one types:
and then you realize a mistake and start backspacing over "foo" to fix the function call, for example, the mirror mode doesn't eat the matching ")" when you delete the "(". Ditto for everything else that is automatic (like quote marks).
I usually use autopair-mode, in everything but JS. Autopair tends to work, but sucks terribly for some reason when editing using js3-mode, so I switched it off and have been trying js3 mirror mode.
Thanks