This extension is a simple formatter for perl code using Perl::Tidy.
- Format perl code using default formatting command
- Format on save (editor.formatOnSave must be true)
- Format selected text
- Basic linting
See CHANGELOG.md
This extension requires that Perl::Tidy is installed. To install Perl::Tidy:
- cpan install Perl::Tidy
- ppm install Perl-Tidy (if using ActivePerl)
- brew install perltidy (Mac OS)
- sudo apt install perltidy -y (Ubuntu)
- sudo yum install perltidy -y (CentOS)
This extension contributes the following settings:
perltidy.executable
: path to perltidy executableperltidy.profile
: path to .perltidyrc file.perltidy.languageIdentifiers
: array of language identifiers, allows support for perl+mojoliciousperltidy.additionalArguments
: array listing any additional arguments to be used with the perltidy command