atom / bracket-matcher

Jump to brackets
MIT License
142 stars 98 forks source link

Ctrl+Alt+Backspace doesn't Remove Matching Brackets #393

Open Tritaya opened 4 years ago

Tritaya commented 4 years ago

Ctrl+Alt+Backspace doesn't Remove Matching Brackets but instead it behaves as pressing Backspace, that is removing a previous character.

The same behavior is when I choose Remove Matching Brackets from the menu: Packages > Bracket Matcher > Remove Matching Brackets

If I disable the package, the combination seems to do nothing.

Re-enabling the package recreate the problem behavior.

Restarting Atom doesn't help.

apm clean doesn't help.

I found out very strange behaviour: every disable-enable cycle of the package leads to Ctrl+Alt+Backspace removes +1 character. E.g. after the first cycle it removes not one character but two.

zypA13510 commented 4 years ago

I'm also able to reproduce the disable-reenable issue.

As for the ctrl+alt+backspace issue, I only have this issue with quotes "" '', but not others () [] {}