Skip to content

Perl Navigator#

Server#

For more information about the LSP server, check perlnavigator.

Installation#

https://github.com/bscan/PerlNavigator/releases

Debugger: Not available#

Available configurations#

lsp-perlnavigator-autoinstall-dir#

Type: directory

Default: ~/.emacs.d/.cache/lsp/perlnavigator

Automatic installation directory for Perl Navigator.


lsp-perlnavigator-download-url#

Type: string

Default: https://github.com/bscan/PerlNavigator/releases/latest/download/perlnavigator-linux-x86_64.zip

Automatic download url for PerlNavigator.


lsp-perlnavigator-enable-warnings#

Type: boolean

Default: t

Enable warnings using -Mwarnings command switch.


lsp-perlnavigator-executable#

Type: file

Default: perlnavigator

Location of the perlnavigator binary.


lsp-perlnavigator-include-paths#

Type: lsp-string-vector

Default: nil

Array of paths added to @INC. You can use $workspaceRoot as a placeholder.


lsp-perlnavigator-logging#

Type: boolean

Default: t

Log to stdout from the navigator. Viewable in the Perl Navigator LSP log.


lsp-perlnavigator-perl-path#

Type: string

Default: perl

Full path to the perl executable (no aliases, .bat files or ~/).


lsp-perlnavigator-perlcritic-enabled#

Type: boolean

Default: t

Enable perl critic.


lsp-perlnavigator-perlcritic-profile#

Type: string

Default: nil

Path to perl critic profile. Otherwise perlcritic itself will default to ~/.perlcriticrc. (no aliases, .bat files or ~/).


lsp-perlnavigator-perltidy-profile#

Type: string

Default: nil

Path to perl tidy profile (no aliases, .bat files or ~/).


lsp-perlnavigator-severity1#

Type: (choice (:tag error warning info hint none))

Default: hint

Editor Diagnostic severity level for Critic severity 1.


lsp-perlnavigator-severity2#

Type: (choice (:tag error warning info hint none))

Default: hint

Editor Diagnostic severity level for Critic severity 2.


lsp-perlnavigator-severity3#

Type: (choice (:tag error warning info hint none))

Default: hint

Editor Diagnostic severity level for Critic severity 3.


lsp-perlnavigator-severity4#

Type: (choice (:tag error warning info hint none))

Default: info

Editor Diagnostic severity level for Critic severity 4.


lsp-perlnavigator-severity5#

Type: (choice (:tag error warning info hint none))

Default: warning

Editor Diagnostic severity level for Critic severity 5.


lsp-perlnavigator-trace-server#

Type: (choice (:tag off messages verbose))

Default: messages

Traces the communication between VS Code and the language server.



Last update: October 31, 2024