Sublime Forum

Open/close bracket matching feature (HTML)?

#1

Maybe I’m an idiot and missed an option somewhere…

New to Sublime Text, and I’m writing an HTML document. In editors like Notepad++ (or any other IDE ever, really), you could write an opening bracket, and a closing bracket, and selecting one of them would highlight the other. I’m not sure what the proper name for this feature is.

Is this disabled in Sublime by default or something? Doesn’t seem to be working. Thanks a bunch.

0 Likes

#2

Bump. Is there a setting for it?

0 Likes

#3

Take a look here.

0 Likes

#4

iamntz, I don’t think that’s what we’re looking for. The Highlightwords plugin linked in it just highlights all instances of a given word, which isn’t what we want.

We’re looking for a plugin that performs the function seen in sublimator’s animated gif. Matching of HTML opening and closing brackets.

0 Likes

#5

Oh, then edit User File Settings and add:

"match_brackets_angle": true

Like so? :smiley:

0 Likes

#6

Negative, iamntz. That setting matches the opening and closing angled bracket of one solitary HTML tag, not both the whole opening and whole closing tags of a matched pair.

0 Likes

#7

Try checking out the ZenCoding plugin. I believe that it does this.

0 Likes