atom / bracket-matcher

Jump to brackets
MIT License
142 stars 98 forks source link

No way to disable context-aware bracket wrapping #397

Open ghost opened 4 years ago

ghost commented 4 years ago

Prerequisites

Description

A while ago was added context-aware bracket wrapping on this pull. That's great for ruby-style string interpolation, but there is no option to disable it in the settings.

Steps to Reproduce

Expected behavior:

Some way to unable/disable/customize context aware bracket wrapping.

Actual behavior:

image

Settings do not mention anything about context-aware bracket wrapping

Versions

packages: bracket-matcher: 0.91.2

Atom : 1.46.0 Electron: 4.2.7 Chrome : 69.0.3497.128 Node : 10.11.0

apm 2.4.3 npm 6.2.0 node 10.2.1 x64 atom 1.46.0 python 3.7.7 git 2.22.0.windows.1 visual studio

OS: windows 10

deiga commented 4 years ago

Can you describe what issues this is causing?

ghost commented 4 years ago

Well, maybe I do not want all of my "#" strings to be replaced with the ruby styled "#{}" as I write in coffeescript. It is a cool feature to have if you are programming in those languages, but if I merely want to do some cson like

tags: [
    "#TagA"
    "#TagB"
    "#TagC"
]

Is very annoying to have to erase the {} that context-aware matching generates every time.

This is not an issue with the cofeescript or ruby packages, as it goes away when I disable the bracket-matcher package.