NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
perltidy not just for whole documents (Score:1)
I use perltidy all the time in vim for just small snippets of code. I just hilite the code snippet I want to tidy (Shift+V and then arrow keys) and then run :!perltidy
on that snippet. Easy and does more than just vertical alignment (also fixes any other whitespace issues, line width, etc). Does Padre have any plans to support external filters like this (either on the whole document or on snippets)?
Re: (Score:1)
We already have a Padre::Plugin::PerlTidy [cpan.org] plugin.
This supports whole-document conversion, but I'm not sure about selected...