]> git.donarmstrong.com Git - perltidy.git/blobdiff - TODO
New upstream release (closes: #613417)
[perltidy.git] / TODO
diff --git a/TODO b/TODO
index 9c3ef3052cb0701db7d2f409c411ab8650177c28..bb1f87437ca0513e9afcfbb5b1c5b2de608bbf2b 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,17 +1,30 @@
 Perltidy TODO List
-    This is a "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.
+  -b does not work through the Tidy module
+    The use of -b in the following does not work:
 
-  improved ?: formatting
-    An indentation level should be associated with ?: statements. This will
-    make nested ?: statements more readable.
+       use Perl::Tidy ();
+       use File::Spec;
 
-  Recursive file processing
-    A -r flag might be nice.
+       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,
+       );
+
+  Improved Vertical Alignment
+    There are still many opportunities for improving vertical alignment.
 
   Documentation
     A FAQ is needed to explain some of the more subtle formatting issues,
@@ -26,3 +39,8 @@ Perltidy TODO List
     multi-line quotes. Then code needs to be written to scan for and markup
     identifiers.
 
+Things which have been suggested but will not be done
+  Recursive file processing
+    A -r flag might be nice, but this is best handled by an exterior shell
+    script.
+