Martin
Martin

Reputation: 795

Sublime Text 2 - brackets highltighting

Anyway to have similar bracket highlighting with Sublime Text 2, as that of Notepad++ (and for that matter the tab highlighting), NB the vertical lines for both.

Bracket highlighting

Upvotes: 1

Views: 273

Answers (2)

colxi
colxi

Reputation: 8660

You can activate that experimental feature in Bracket Highlighter extension, just adding to the config file this line:

"content_highlight_bar" : true 

C&P from the official Guide:

content_highlight_bar

An experimental setting which can enable the display of a vertical bar that extends from the line containing the opening bracket to the line with the closing bracket. Takes a boolean true or false. When align_content_highlight_bar is set to false, the bar will be shown on the first column regardless of indent level of the brackets. When align_content_highlight_bar is set to true, the bar will be aligned at the bracket indent level.

There is a bunch of information about this and other features in the Customization Chapter of the extension User Guide, here.

Upvotes: 1

darkcharl
darkcharl

Reputation: 58

You will want to install the brackethighlighter plugin. If you haven't enabled Package Control in Sublime yet, you can find instructions on how to enable it here.

When enabled, it should provide similar gutter icons:

enter image description here

Upvotes: 1

Related Questions