How can I assign a keyboard shortcut to the Notepad++ command "Reindent XML"?

This menu item is found under TextFX -> TextFX HTML Tidy => Tidy: Reindent XML.

I use this very, very frequently (and repeatedly on batches of 5-8 files), and it's annoying to do it by mouse. I looked through the Settings -> Shortcut Mapper ... menu item, but I didn't see any way to do it.


I expected it to be listed under Shortcut mapper -> Plugin commands, but I didn't see it (too bad there's no way to search or at least sort that list).

An alternative that I use is the XML Tools plugin. I have a shortcut for "Pretty print (XML only - with line breaks) of Ctrl+Alt+Shift+B.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.