59
16
I would like for Notepad++ to add the closing tag when I finish typing the open tag. I know there is a plugin to do this for XML but it doesn't work on my HTML files and I have yet to find one that does.
59
16
I would like for Notepad++ to add the closing tag when I finish typing the open tag. I know there is a plugin to do this for XML but it doesn't work on my HTML files and I have yet to find one that does.
60
Try going into TextFX / TextFX Settings and check 'auto close XHTML tags'. This makes it work in plain HTML files too. You may need to install it if using a newer version of Notepad++
4Also, the document language needs to be set to HTML, if it isn't already. – MrWhite – 2010-12-16T10:59:06.240
Thanks! Notepad++ is a great tool but looks like the authors are tough guys, such things should be on by default. – axk – 2011-11-25T11:31:50.783
3Which version of Notepad++ does this apply to? Some of the newer versions don't seem to have TextFX anymore (such as the current release version, 5.9.8). – 40XUserNotFound – 2012-03-16T19:32:50.137
David do you know of a plugin which will auto-complete XHTML in php files? – Anagio – 2013-01-19T21:51:37.007
@Anagio sorry, I do not. Maybe ask a new question? – David Ebbo – 2013-01-20T01:34:59.843
2@DavidEbbo the auto-complete word setting built into Notepad++ does it – Anagio – 2013-01-20T03:15:36.430