X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=TODO;h=4c33354d09e8d27408231f073fc4a67ec867b0b5;hb=736e5d55044509ce0deaaf0e7299a98f4d4b8d15;hp=bb1f87437ca0513e9afcfbb5b1c5b2de608bbf2b;hpb=5c180637bf79ffc2af10f6654d308ce39e2f1f67;p=perltidy.git diff --git a/TODO b/TODO index bb1f874..4c33354 100644 --- a/TODO +++ b/TODO @@ -1,31 +1,17 @@ Perltidy TODO List - This is a partial "wish-list" of features to add and things to do. + This is a partial "wish-list" of features to add and things to do. - -b does not work through the Tidy module - The use of -b in the following does not work: - - use Perl::Tidy (); - use File::Spec; - - my $file = File::Spec->catfile( $dir, - $filename ); - - Perl::Tidy::perltidy( - source => $file, - argv => '-b', - perltidyrc => $perltidyrc, - ); - - A temporary workaround is: - - Perl::Tidy::perltidy( - argv => "-b $file", - perltidyrc => $perltidyrc, - ); + Provide an option to ignore side comments when checking line length. + That is, side comments would be allowed to be arbitrarily long without + influencing line breaks. Improved Vertical Alignment There are still many opportunities for improving vertical alignment. + Minimize the instances in which formatting changes on a second iteration. + + Add a convergence test when -it=n is used + Documentation A FAQ is needed to explain some of the more subtle formatting issues, and to give examples of different styles. @@ -44,3 +30,7 @@ Things which have been suggested but will not be done A -r flag might be nice, but this is best handled by an exterior shell script. + Make perltidy support the syntax of some module XXX. + This generally won't be done unless the module is part of the core perl + distribution. But in some cases it might be possible to use the prefilter + and postfilter capabilities of the Tidy.pm module to help.