Koji Sugano
Koji Sugano

Reputation: 59

How to highlight contents of parenthesis in Atom

I have just started to use Atom editor these days. Before that, I have used python IDLE. IDLE highlight the contents of parenthesis for us when we just created parenthesis. But, Atom does not.

Do you know any themes or packages to make it possible in Atom?

Upvotes: 0

Views: 2154

Answers (2)

Jed Fox
Jed Fox

Reputation: 3025

You can use this selector: atom-text-editor .bracket-matcher .region, :host .bracket-matcher .region to highlight the brackets any way you want.

For example:

atom-text-editor .bracket-matcher .region,
:host .bracket-matcher .region {
    border-bottom: none;
    background: red;
}

This will make the brackets have a bright red highlight.

Upvotes: 1

user4754843
user4754843

Reputation:

You can try Material Theme, I'm using it and parenthesis is auto-created. Another choice is to install a package named BracketHighlighter.

Upvotes: 0

Related Questions