atom / bracket-matcher

Jump to brackets
MIT License
142 stars 98 forks source link

Jump to matching backticks (single or multiline) #401

Open brettz9 opened 3 years ago

brettz9 commented 3 years ago

Prerequisites

Description

I'm not sure this is a bug or feature, but my understanding is that with "Autocomplete Brackets" enabled and including backticks, that this should work.

Steps to Reproduce

  1. Add this to a JS file: ``js const something =abc; const another = multi- line `;
  2. Use the key command ctrl-m while next to one of the backticks

Expected behavior:

It would jump to the matching backtick.

Actual behavior:

It jumped somewhere else (to a nearby curly bracket even though I wasn't clicking near a curly bracket).

Reproduces how often:

It seems consistent now, though I could swear it was working for single line backticks before.

Versions

Atom : 1.54.0 Electron: 6.1.12 Chrome : 76.0.3809.146 Node : 12.4.0

apm 2.5.2 npm 6.14.8 node 12.4.0 x64 atom 1.54.0 python 2.7.15 git 2.24.3

Mac OSX 10.15.7 (Catalina)

Additional Information