atom / bracket-matcher

Jump to brackets
MIT License
142 stars 98 forks source link

Support for brackets with multiple characters #323

Open zoenglinghou opened 6 years ago

zoenglinghou commented 6 years ago

Prerequisites

Description

I was trying to add some special brackets used by LaTeX, i.e.

".latex.tex.text":
  "bracket-matcher":
    autocompleteCharacters: [
      "()"
      "[]"
      "{}"
      "<>"
      "«»"
      "\"\""
      "``''"
      "\\(\\)"
    ]

The \( \) and ``'' are bracket pairs in LaTeX, but I don't think they are supported by this package yet, and they do not work. Is there plan to support these?

Steps to Reproduce

N/A

Versions

atom version:

Atom    : 1.21.1
Electron: 1.6.15
Chrome  : 56.0.2924.87
Node    : 7.4.0

OS: macOS 10.13

Xiaohong-Deng commented 6 years ago

I've been looking for this feature in Atom. In Sublime BracketHighlighter does this for code blocks like def...end and HTML tags.