wiki:Features/PerlTidy

Version 1 (modified by szabgab, 4 years ago) (diff)

--

Descripttion

The CPAN package Perl::Tidy provides a command line tool to process and reformat a Perl 5 script or module.

Padre has a plugin called Padre::Plugin::PerlTidy that provides integration with the above module. It uses the default settings of perltidy or the settings of the current project to tidy the current file or the current selection in the editor.

Test

TODO

  • A GUI tool to configure the settings of perltidy (there is very limited implementation already)
  • Allow the user to set "tidy-on-save" so when a file is saved first it goes through a tidy process