I'm migrating a question I posted on stackoverflow to here as it may be more relevant.
Here is the question:
I'm looking for a way to code XML (mxml, specifically) in Notepad++ such that it follows the behavior of the "Indent by Fold" plugin - indentation after pressing 'enter' following an opening tag - but also includes automatic tag closing similar to what is provided by the "XML Tools" plugin.
The issue with enabling both at once is that I start with something like this:
(Note: the '|' character represents the cursor)
Then after hitting the '>' key, I get this:
And after pressing 'Enter,' I get something that looks like this:
What I'm looking for is something that looks like this (after hitting the '>' key):
<hello> | </hello>
Any help would be much appreciated.