This layer adds support for the Perl5 language.
- Syntactic and semantic checking using flycheck
- Auto-completion using company-plsense
- Format code with
perltidy
- Jump to symbol definition
- Interactive debug via realgud with trepan.pl
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add perl5
to the existing dotspacemacs-configuration-layers
list in this
file.
company-plsense
requires installation of the plsense
server from here.
Browse formatted perldocs.
Key binding | Description |
---|---|
SPC m h h | view perldoc of symbol at point |
SPC m h d | view perldoc of any symbol |
Select a POD or HERE doc.
Key binding | Description |
---|---|
SPC m v | select entire POD or HERE doc at point |
Jump to symbol definition.
Key binding | Description |
---|---|
SPC m g g | jump to symbol definition |
SPC m g G | jump to symbol definition in other window |
Key binding | Description |
---|---|
SPC m = = | format current line or region |
SPC m = b | format current buffer |
SPC m = f | format current function |