title: Automatically close the correct XML / HTML tag on typing </
body: <p>Does anyone know of a Notepad++ plugin that will automatically close the correct balanced tag upon typing <code>&lt;/</code> ?</p>
  
  <p>e.g. if i had typed</p>
  
  <pre><code>&lt;ul&gt;
    &lt;li&gt;item 1&lt;/li&gt;
    &lt;li&gt;item 2&lt;/li&gt;
  &lt;/
  </code></pre>
  
  <p>I would like to have the plugin auto-generate / auto-complete the closing tag to be <code>&lt;/ul&gt;</code> </p>
  
  <p>The <code>Tag auto-close</code> function of the <code>XML-tools</code> plugin and the <code>Auto-close XHTML/XML &lt;Tag&gt;</code> function of the <code>TextFx</code> plugin both seem to just support automatically generating a close tag immediately following the open tag, at the time that the open tag is typed. This is <strong>not</strong> what i'm looking for. I'm after a function that fires upon the event of typing <code>&lt;/</code>. i.e. as you are attempting to close a tag.</p>