Notepad++ auto complete HTML end tags after </ (like Dreamweaver does)

Solution 1:

Go to TextFX / TextFX Settings and check "auto close XHTML tags".

This makes it work in plain HTML files as well.

Solution 2:

Yes, it's possible to do in Notepad++, and it's very easy to do. Follow these steps:

  1. Go to Settings.
  2. Click on the Preferences tab.
  3. Now click on Auto Completion. Here, you will see two sections: one is Auto Completion, and the other is Auto Insert.
  4. In the Auto Insert section, click on the check box which says HTML/XML Close Tags.

Solution 3:

Very partial answer:

Do not enable in TextFX / TextFX Settings the option "Auto close XHTML/XML ".

Go to the Settings -> Preferences dialog box. Click in the Backup / Auto-completion tab and set the Enable auto-completion option.

This will only let you choose the ending tag name from its prefix.

Personally, I would prefer for Notepad++ the answer of @user79590 over my answer. If both answers are not satisfactory, then I would look for another HTML editor, since I don't believe any other possibility exists for Notepad++.

Solution 4:

Maybe you could use HTMLKit which has the shortcut 'ALT+END' which will end your current tag. Maybe N++ has something like that hidden...