]> git.donarmstrong.com Git - perltidy.git/blob - TODO
bb1f87437ca0513e9afcfbb5b1c5b2de608bbf2b
[perltidy.git] / TODO
1 Perltidy TODO List
2     This is a partial "wish-list" of features to add and things to do.
3
4   -b does not work through the Tidy module
5     The use of -b in the following does not work:
6
7        use Perl::Tidy ();
8        use File::Spec;
9
10        my $file = File::Spec->catfile( $dir,
11           $filename );
12
13        Perl::Tidy::perltidy(
14           source     => $file,
15           argv        => '-b',
16           perltidyrc => $perltidyrc,
17        );
18
19     A temporary workaround is:
20
21        Perl::Tidy::perltidy(
22           argv        => "-b $file",
23           perltidyrc => $perltidyrc,
24        );
25
26   Improved Vertical Alignment
27     There are still many opportunities for improving vertical alignment.
28
29   Documentation
30     A FAQ is needed to explain some of the more subtle formatting issues,
31     and to give examples of different styles.
32
33     The -formatter callback object documentation is incomplete.
34
35   HTML writer
36     The HTML writer does not colorize interpolated identifiers in here
37     documents or quoted strings. The tokenizer outputs interpolation
38     information for here docs; it still needs to be updated to do this for
39     multi-line quotes. Then code needs to be written to scan for and markup
40     identifiers.
41
42 Things which have been suggested but will not be done
43   Recursive file processing
44     A -r flag might be nice, but this is best handled by an exterior shell
45     script.
46