Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js3 Mirror Mode is broken sometimes #96

Open
jmarca opened this issue Mar 21, 2014 · 1 comment
Open

js3 Mirror Mode is broken sometimes #96

jmarca opened this issue Mar 21, 2014 · 1 comment

Comments

@jmarca
Copy link

jmarca commented Mar 21, 2014

The mirror mode functionality isn't quite right.

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.

Thanks

@tamzinblake
Copy link
Owner

Yeah mirror mode is pretty terrible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants