Highlight opening/closing HTML tags


#1

Is there a way I can get HTML tag highlighting? I’ve noticed there’s bracket-matcher, but no support for HTML at all, which seems odd (I’m a front-end developer so maybe I’m biased).

There’s a package in Sublime called BracketHighlighter that does just that. Here’s an example from that package.

http://imgur.com/FKTiGjT


#2

@chrisgriffin here you go mate [highlight selected][1]

[1]: https://atom.io/packages/highlight-selected should do the trick :smiley:


#3

@aesarius While this is helpful, it doesn’t solve the problem I’ve stated here.

When my cursor is within an opening/closing tag, I want to have a visual cue of where the other opening/closing tag is located.


#4

I would vote +1 for this feature. It is quite handy in ST2/ST3


#5

I’d really love this feature too, currently being discussed on the bracket-matcher repo https://github.com/atom/bracket-matcher/issues/5


#6

Please add this feature in Windows (argh) version!


#7

There is no separate Windows version of bracket-matcher, @fricks. This feature was implemented in May of last year.


#8

its not working for me :frowning:


#9

Have you followed the suggestions in the Debugging document? Also, could you give the following information?

  • Which version of Atom are you using?
  • What version of Windows are you running?
  • Do you have the Emmet package installed?
  • Can you reproduce the issue after completely exiting Atom and restarting using atom --safe?
  • Do you have the Shadow DOM enabled?

#10
  • Last version of Atom
  • Windows 7 (argh!) I’m Mac user, but I start this week in a new company and them use only Windows (argh!)
  • Emmet package is installed. It’s a problem?!
  • I dont try this yet.
  • Yes.

Btw, thanks for the link about debugging. I’ll try the suggestions tomorrow.


#11

You’re welcome.

As far as Emmet being a problem … I don’t know if it is or isn’t, but it has been a problem often enough with weird interactions (like breaking the command palette :confused:) that I included it in my debug snippet. It helps to know up front :grinning:


#12

Here it is


#13

I know it’s a bit stale thread and I’m a bit late to the ‘party’, but https://atom.io/packages/bracket-matcher is working for me (only when html markup file has proper html extension).