App::Perl6LangServer
This is usually invoked from a language client (e.g.
ide-perl6). This language server
only supports at the moment stdin
/ stdout
mode. stderr
is used to report debug information at the moment.
This Note: This is currently experimental and API may change. Please DO NOT use in a production environment.
Features:
Feature | Implements | Type | Status | Description |
---|---|---|---|---|
Diagnostics | PublishDiagnostics | Notification | ✔️ | Parse syntax check errors output from perl6 -c . |
Document outline | Document Symbols | Request | 🚧 | Experimental regex-based parser. |
Hover | Hover | Request | 🚧 | Experimental p6doc support / find declaration. |
Installation
- Install this module using zef:
$ zef install App::Perl6LangServer
Testing
- To run tests:
$ prove -ve "perl6 -Ilib"
- To run all tests including author tests (Please make sure Test::Meta is installed):
$ zef install Test::META
$ AUTHOR_TESTING=1 prove -e "perl6 -Ilib"
Author
Ahmad M. Zawawi, azawawi on #perl6.
License
MIT License