Notepad++ Jump between opening and closing html tags

20

4

If I've currently got a html tag highlighted in Notepad++, is there a way to automatically jump to the closing tag and vice-versa?

keith

Posted 2010-08-11T09:37:14.570

Reputation: 303

You can do this in sublime text if you install emmet plugin. Works like a charm - choose to highlight till closing tag. – r0berts – 2014-09-28T20:31:43.500

You might have better luck asking this on SO – Dana the Sane – 2010-08-21T17:18:51.343

You might be right there Dana, cheers! – keith – 2010-08-24T01:13:24.610

If you nested the HTML tags correctly with start and end tag, you can see a + or - sign on left side of Notepad++. – Biswapriyo – 2017-09-11T15:56:55.187

Answers

16

Yes there is, you can use the "html tag" plugin and do ctrl + t

From the plugin's description:

This plug-in provides two core functions to Notepad++: HTML and XML tag matching, like the built-in brace matching (Ctrl+B / Shift+Ctrl+B) HTML entity encoding/decoding (example: e to é and vice versa) Author: Martijn Coppoolse Source: http://sourceforge.net/projects/npp-plugins/files/HTMLTag/HTMLTag%20plugin%20v0.3/HTMLTag_plugin_v0.3.0_unicode.zip/download

Prozaker

Posted 2010-08-11T09:37:14.570

Reputation: 755

This plugin is extremely slow and crashes when used on ending tags in a very large XML file (20k lines). – void.pointer – 2016-04-13T17:53:28.090

0

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 {.

user584583

Posted 2010-08-11T09:37:14.570

Reputation: 13