Notepad ++ XML autocompletion / add end tag?

In Notepad ++ (latest version 6.1.2), is there automatic completion for XML (in terms of automatically adding a closing tag)?

eg. when entering

<test>

I want Notepad ++ to automatically add

</test>

Thanks for any hint!

+5
source share
4 answers

I know there is an HTML plugin that is included in recent versions that closes some tags for you. But I have not heard about XML. There is probably one, but if you look. But if not, its not too difficult to write a plugin using C #, if you have one.

0
source

First load the TextFX plugin using the plugin manager

Plugins > Plugin Manager

Then select the following menu

TextFX > TextFXSettings > Autoclose XHTML/XML <Tag>
+20
source

Notepad ++

Preferences > Auto Completion > Auto Insert > html/xml close tag

, .xml, .html, etc. . , , 6.7.9.

+4

XML Toolsof Plugin Managercan also do the trick. Then after loading the plugin, mark Tag auto-closeinPlugins > XML Tools

+3
source

All Articles