![]() These are:ĭefault Strawberry Perl installation location C:\Strawberry, i.e.: Searching for perltidy in platform specific default locations. Searching for “perltidy” (“perltidy.bat” on Windows) within directories specified in environment variable PATH. Though usage of PerlTidy is quite simple and PerlTidy will do its very best to Just Work™, most aspects can be configured to suite your needs.Ĭhecking the user setting “perltidy_cmd” for a (valid) user supplied perltidy location. or open Command Palette, start typing “perltidy”, select “PerlTidy: Tidy” and hit return.~/Library/Application Support/Sublime Text 2/Packages/Īfter PerlTidy installation, open a Perl file of your choice and: from Sublime Text menu will get you to the Packages directory also. ![]() Alternatively, selecting Preferences->Browse Packages. If using Sublime Text 3, be sure to replace “2” with “3” in directory names. The Packages directory locations are listed below. Rename directory “SublimePerlTidy-master” to “PerlTidy”. From ZIP: Download the latest version as a ZIP archive and copy the directory “SublimePerlTidy-master” from the archive to your Sublime Text Packages directory.The advantage of using either Package Control or git is, that the plugin will be automatically kept up-to-date with the latest version. Please note that the destination directory must be PerlTidy. With Git: Clone the repository in your Sublime Text Packages directory. Select Package Control: Install Package, wait till latest package list has been fetched, then select PerlTidy from the list of available packages. Once you have installed Package Control, restart Sublime Text and bring up the Command Palette (press Control Shift P on Linux/Windows, Command Shift P on OS X, or select Tools->Command Palette. With Sublime Package Control: The easiest way to install PerlTidy is through Sublime Package Control.Read on for detailed installation, usage, configuration and customization instructions. Open a Perl source file and hit Control Shift t.Install this plugin in Sublime Text via Package Control, git or from ZIP (in Sublime Text the plugin is named PerlTidy, not SublimePerlTidy).Ensure, you have a Perl interpreter and perltidy installed (hint: apt-get install perltidy, yum install perltidy, cpan Perl::Tidy, ppm install Perl-Tidy).It indents and reformats Perl source code to make it easier to read. PerlTidy is a plugin for Sublime Text 2/ 3, which integrates the command line application perltidy into Sublime Text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |