html - How do I delete highlighted syntax in Notepad++?

06
2014-04
  • user277760

    I have just started learning HTML in Notepad++ and I am playing around with the tags a lot. When my cursor is inside of an open or closed tag both are highlighted automatically in purple. I was wondering if I could delete them both while they are highlighted. If you're thinking this, no I do not want to remove all of the same tag. I just want to delete the ones that are automatically highlighted.

  • Answers
  • psxls

    There's no such option that I know of in Notepad++. But you can install the HTML Tag plugin (you can find it in the Plugin Manager), where there's a command called Select tag and contents which will do half of your job. The second half would be to press delete :)


  • Related Question

    textmate HTML tag highlighting like notepad++?
  • hatorade

    in notepad++ there is a nifty add-on that highlights the matching tag in HTML (so for example, if i click on a it highlights that closing tag as well as the opening tag that it's matched to). is there a way to do this in textmate?


  • Related Answers
  • phoebus

    This StackOverflow answer may be of at least some use.