Home Download Buy Blog Forum Support

Tag match highlighting

Tag match highlighting

Postby 75th Trombone on Mon Oct 12, 2009 7:40 pm

This has been brought up elsewhere, but I'm not sure it has its own thread yet.

I work with about four people (plus myself) who are dying to switch to Sublime from N++. The one deal-breaker feature Sublime is missing is matching tag highlighting.

That is, in HTML or XML, if the cursor is inside a <tag>, both it and the matching </tag> should be highlighted.

If Sublime gets this feature my whole office will never look back.
75th Trombone
Posts: 6
Joined: Thu Oct 08, 2009 4:29 pm

Re: Tag match highlighting

Postby ilya on Mon Oct 12, 2009 8:18 pm

I join the request!
Posts: 122
Joined: Fri Sep 11, 2009 8:32 pm

Re: Tag match highlighting

Postby jps on Tue Oct 13, 2009 12:29 pm

I like the sound of it. I'm presently working on expanding the Python API so that this sort of thing can be done via a plugin.
Site Admin
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Tag match highlighting

Postby vim on Tue Oct 13, 2009 1:38 pm


would love this kind of feature.
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: Tag match highlighting

Postby EJ12N on Tue Oct 13, 2009 9:53 pm

+1 BUT...
with sublimators webdevelopment package you can do this which I think it'll ease the pain of not having the tag highlight...

You can select the tag (it selects open and closing tag, then u can change it easily by just typing new tag)
You can select the tag contents (whatever is inside the tag)
You can jump to open/closing tag (this is same as ctrl+m in sublime, just for html tags)
You can select all childs of that tag and jump between them
and last but not least u can unwrap the tag, ex:
Code: Select all
<div id="wrapper"><p>content</p></div>

if you unwrap then all u get is <p>content</p> sweet!

U can select tags with jquery selectors, (div#wrapper; div; td:odd, div>p, etc...) and more, is a sweet plugin :)
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Tag match highlighting

Postby n00ge on Thu Oct 15, 2009 10:10 am

Very cool! Thanks.
Sublime Text 3 dev builds | OS X 10.8.2 & Ubuntu 13.04
Posts: 140
Joined: Mon Oct 05, 2009 1:23 am

Re: Tag match highlighting

Postby spookcomix on Tue Nov 24, 2009 7:07 pm

Hi there.

A friend pointed out Sublime last night. I investigated it this morning, and would be completely sold if it had the matching tag highlighting feature. Sublime seems to correct everything I don't like much about N++, but missing the tag highlighting is a showstopper for me.

I read in this thread that there sublimator's WebDevelopment package adds this functionality. I'd love to try it, but I'm completely lost about how to get it installed. I don't really understand how Sublime works under the hood.

However, I'm not opposed to reading.

Would someone be kind enough to point me in the right direction? What do I need to install/download for WebDevelopment, where do I need to put it, what do I need to change to make it work, and how do I invoke it to try it out?

Much appreciated, truly. I'm chomping at the bit, here, and have switched to Sublime for the afternoon to see how it feels.

Posts: 1
Joined: Tue Nov 24, 2009 3:48 pm

Re: Tag match highlighting

Postby pyparadigm on Tue Aug 23, 2011 5:09 am

Posts: 23
Joined: Thu Aug 04, 2011 8:15 am


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Google [Bot] and 9 guests