Padre::Plugin::PerlTidy(3)

NAME
Padre::Plugin::PerlTidy - Format perl files using Perl::Tidy

DESCRIPTION
This is a simple plugin to run Perl::Tidy on your source code.

Currently there are no customisable options (since the Padre plugin system doesn't support that yet) - however Perl::Tidy will use your normal .perltidyrc file if it exists (see Perl::Tidy documentation).

METHODS

  padre_interfaces
Indicates our compatibility with Padre.

  plugin_name
A simple accessor for the name of the plugin.

  menu_plugins_simple
Menu items for this plugin.

  tidy_document
Runs Perl::Tidy on the current document.

  export_document
Export the current document as html.

  tidy_selection
Runs Perl::Tidy on the current code selection.

  export_selection
Export the current code selection as html.