yes, I select all text before using the command.
Just a guess:
Did you select the text before using the command? That feature completely relies on a text selection, if no text is selected, nothing happens.
To format a complete file, simply use Ctrl-A before to select all.
Regards, Enrico