![]() This library is free software you may redistribute it and/or modify it under the same terms as Perl itself. Refer to this README for instructions on configuring your specific editor: COPYRIGHT If you install Cpanel::JSON::XS or JSON::XS, it will use one of those before falling back to JSON::PP, similar to JSON::MaybeXS. Pls will perform much better if you have an XS JSON module installed. Pls is known to be compatible with Visual Studio Code, Neovim, and BBEdit. plsignore file in your project's root directory, with a list of Perl glob patterns which you do not want pls to index.īy default, PLS will index all files ending with `.pl`, `.pm`, or have `perl` in the shebang line that are not `.t` files. This is useful if there is a BEGIN block in your code that changes behavior depending on the contents of may configure a. additional arguments to pass when syntax checking. path to an alternate perl to use for syntax checking.ĭefaults to the perl used to run PLS. Firstly, Strawberry Perl didn’t include a visual Perl Package Manager-type tool for installing and maintaining Perl modules. perlcriticrc file.ĭefaults to ~/.perlcriticrc if not configured. When we first evaluated the newcomer Strawberry Perl in 2008 against the more established ActivePerl, differences became clear from an ease of installation and use perspective. whether to enable linting using perlcritic. perltidyrc file.ĭefaults to ~/.perltidyrc if not configured. If you use $ROOT_PATH, it will be replaced by your workspace's first or only folder. ![]() pls.cwd - the working directory to use for pls This is useful if you use SVN and check out each branch to a different directory. If you are using multiple workspace folders and use $ROOT_PATH, the path will be multiplied by the number of workspace folders, and will be replaced that many times. pls.inc - a list of paths to add to can use the $ROOT_PATH mnemonic to stand in for your project's root directory, for example $ROOT_PATH/lib. For example, if you run pls in a docker container, pls.cmd would be docker, and pls.args would be. pls.args - args to pass to the pls commandĪdd any additional arguments needed to execute pls to the pls.args setting. If you rely on your $PATH, ensure that your editor is configured with the correct path, which may not be the same one that your terminal uses. Make sure that pls.cmd is set to the path to the pls script on your system. The following settings may be configured using your text editor: pls.cmd - path to pls This application does not take any command line options. Signature help (showing parameters for a function as you type) Go to definition (for packages, subroutines, and variables) The Perl Language Server implements a subset of the Language Server Protocol for the Perl language.
0 Comments
Leave a Reply. |