Show unmatched html tags in Notepad++

I've put in a request for someone to develop a plugin to do this in Notepad++ at https://sourceforge.net/projects/notepad-plus/forums/forum/331753/topic/4936812

Until that happens, it appears that this cannot be done in Notepad++.


It's highlighted. Click on the tag and you can see:

  1. Tags which are pair open-close are highlighted (violet). Tags without pair aren't highlighted.

  2. There is also red line on the margin which leads to the closing tag. If there is no closing tag you can see that it leads to nowhere.

Below are images - first shows valid situation, second - invalid.

(My Notepad++ version is 5.9.5 on Windows and choosed language is HTML)

Valid situation

Invalid situation


For the big file I was working on, my workaround to find the extra/missing div was to rename a copy of the file to file.java. Then replace "/div" with } and "div" with {.

Tags:

Html

Notepad++