+18
Færdig
Tag Highlighting / Angle Bracket Highlighting
It would be nice if tags were highlighted the same way that brackets are e.g.
<div id = 'example'>
blah blah
</div>
Svar
0
Svar
Færdig
Jon Skinner 13 år siden
Added in 2126
Couldn't we solve this via a little event listener for on_selection_modified? It could search for the next closing tag, then backward and highlight them or something like that.
I say this because I don't think that xml tags are such an universal element like brackets and should therefore not be implemented into the core...
I really disagree that this should be in plugin land. It makes sense to highlight all opening and closing tags / brackets / braces / parenthesis or whatever else.
Whilst brackets trip up my code far more than divs, it feels like an incomplete feature to leave out tags. Other programs like NotePad++ have this feature (screenshot below). I can't see the argument for not having it.
Nobody says something like "we don't need it" - in fact I really like the idea. It's just that xml tags are part of xml and not existent anywhere else. Thus this should be defined within the syntax definition of xml. I said "plugin" because I'm not aware of a mechanism within the syntax files which does this. Also "plugin" does not implicate that it's not being shipped with sublime. There are already things that have been merged into the base packages as soon as it made sense. All this let's me think that it's best that someone throws out a working prototype and Jon could decide if and how to merge it into the xml/html packages.
+1
Great,
I hope someone develops this - unfortunately I'm not a programmer and only work with javascript / css, otherwise I would give it a go. I'll keep an eye out :-).
This is the only thing that keeps me away from using this as my default editor!
Kundesupport af UserEcho