I'm not aware of any possibility in perltidy for hooking an external parser for languages like SQL.
And how is tidy supposed to know what kind of sub-language you are using? Heuristics?
My best practice for embedded code is to manually change the mode in emacs and start a reformatting process on selected regions. When needed I even put this in a macro assigned to a key.
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re: Best practices and any way to have Perl Tidy clean it up
by LanX
in thread Best practices and any way to have Perl Tidy clean it up
by walkingthecow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |