X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=TODO;h=4c33354d09e8d27408231f073fc4a67ec867b0b5;hb=736e5d55044509ce0deaaf0e7299a98f4d4b8d15;hp=463f148d392d54e51a073fba698b5a7de6992f84;hpb=8650cadc9aaa12d0fb1d7025ad8fefda9c3df636;p=perltidy.git diff --git a/TODO b/TODO index 463f148..4c33354 100644 --- a/TODO +++ b/TODO @@ -1,34 +1,16 @@ Perltidy TODO List - This is a partial "wish-list" of features to add and things to do. All - of these are of interest, but there is no particular schedule for - implementing them. + This is a partial "wish-list" of features to add and things to do. - Improved Vertical Alignment - There are many opportunities for improving vertical alignment. - - More options for controling placement of opening/closing tokens - Many have requested even more options to control opening and closing - token placement. - - improved ?: formatting - An indentation level should be associated with ?: statements. This will - make nested ?: statements more readable. + 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 internal if/unless formatting - Consider giving internal if/unless statements an additional level of - indentation. This would avoid running out of indentation levels. - Suggested by Jeff Armstorng. For example, we would like the 'ands' in - the following statement to be indented more than the if: + Improved Vertical Alignment + There are still many opportunities for improving vertical alignment. - return $ship->chargeWeapons("phaser-canon") - if $encounter->description eq 'klingon' - and $ship->firepower >= $encounter->firepower - and $location->status ne 'neutral'; + Minimize the instances in which formatting changes on a second iteration. - enable -ole under Windows - This only works under unix (or cygwin) at present. It doesn't work for - Windows versions, such as Active State, because they change line endings - that they don't like. + Add a convergence test when -it=n is used Documentation A FAQ is needed to explain some of the more subtle formatting issues, @@ -43,12 +25,12 @@ Perltidy TODO List multi-line quotes. Then code needs to be written to scan for and markup identifiers. - Automatic style detection - It would be nice to write a program to read a sample of perl code and - write an approximate .perltidyrc file for that style. - Things which have been suggested but will not be done Recursive file processing - A -r flag might be nice, but this is probably best handled by an - exterior shell script. + 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.