We all know that deadlines and/or critical bugfixes and make us forget a bit about source formatting guidelines. Or sometimes you need to work with 3rd party source code which seems to have been coded by someone who doesn't know the meaning of whitespace and readability. What is your favorite tool to tabulate your code (or 3rd party code) to your specification?
My IDE, IntelliJ, does this while I check in or with a keystroke.
Perl is the language I use most, and perltidy does a great job.
I like Visual Studio's autoformat feature. It's all mass-market and The Man's Tool, but hey, it works & I can read their formatting.
I personally use PolyStyle as it supports many, many languages, but I'm curious about alternatives, hence the question.
One can also use Uncrustify and the UniversalIndentGUI, also good for mass tagging.
My favorite tool is indent. It is available off-the shelf in most Unix distributions. It has tens of options to accommodate most C style conventions. On Windows it can be easily installed through Cygwin. Having said that, automated code formatting should be your last resort. No tool can format code as well as a good programmer.