Skip Menu |

This queue is for tickets about the Perl-Tidy CPAN distribution.

Report information
The Basics
Id: 68872
Status: resolved
Priority: 0/
Queue: Perl-Tidy

People
Owner: Nobody in particular
Requestors: RWSTAUNER [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 20101217
Fixed in: (no value)



Subject: option to not space block comments at the top of a block
So far i'm pretty happy with the default settings, but I wish i could have slightly more control over the spacing of block comments: block { # comment becomes block { # comment Normally I like having a blank line above a block comment but immediately inside of a block (already indented) it seems unnecessary to me. I wish there was an option for --blanks-before-comments-except-immediately-inside-block or --no-blank-immediately-inside-block or something like that. My current workaround is to simply set --no-blanks-before-comments because I usually space my comments anyway... this way new ones don't get introduced where i don't want them.
This is implemented in perltidy version 20120619.