Welcome to the Monastery | |
PerlMonks |
Re: Perltidy indents too much when there are stacked opening tokensby LanX (Saint) |
on Oct 21, 2014 at 01:07 UTC ( [id://1104506]=note: print w/replies, xml ) | Need Help?? |
The current behavior is a good default, since stacked parens doesn't mean that all data is on the same depth (see discoverX ) and yes perltidy doesn't seem to have any finer control about data indentation.
For what it's worth emacs has an option to calculate the indentation relative from the last statement:
Maybe you want to propose this feature to the maintainer? I'm not too convinced. But YMMV ...
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :)
In Section
Seekers of Perl Wisdom
|
|