Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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