-
-
28 Feb 2012 11:48:49 UTC
- Distribution: Padre-Plugin-PerlTidy
- Module version: 0.22
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Clone repository
- Issues
- Testers (39 / 0 / 3)
- Kwalitee
Bus factor: 3- % Coverage
- License: perl_5
- Perl: v5.8.2
- Activity
24 month- Tools
- Download (25.85KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Padre::Plugin
- Params::Util
- Perl::Tidy
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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.
Module Install Instructions
To install Padre::Plugin::PerlTidy, copy and paste the appropriate command in to your terminal.
cpanm Padre::Plugin::PerlTidy
perl -MCPAN -e shell install Padre::Plugin::PerlTidy
For more information on module installation, please visit the detailed CPAN module installation guide.