The PerlTidy Plugin
Use this command to pretty print Perl code.
It pretty-prints the selected region or the entire file.
Will use the installed PerlTidy if found, else will use the embedded PerlTidy in which case a Perl interpreter must be in the PATH environment variable
See http://perltidy.sourceforge.net/ for more information
As a bonus, you can press ctrl+shift+t to execute the current file through Perl and see the output in a scratch buffer.
To Install This Plugin
- download the PerlTidy Plugin to your local hard-drive.
- double-click the package file
- restart Sublime Text
For Developers
- This source code for this plugin is available at google code.
- Google provides instructions for checking out the code