Crates.io | pest-language-server |
lib.rs | pest-language-server |
version | 0.3.11 |
source | src |
created_at | 2023-03-15 08:50:24.328217 |
updated_at | 2024-06-07 13:26:20.806735 |
description | A language server for Pest. |
homepage | https://pest.rs |
repository | https://github.com/pest-parser/pest-ide-tools |
max_upload_size | |
id | 810574 |
size | 130,369 |
IDE support for Pest, via the LSP.
This repository contains an implementation of the Language Server Protocol in Rust, for the Pest parser generator.
Please see the issues page to suggest features or view previous suggestions.
You can find documentation on how to set up the server for in the DOCS.md
file.
Due to the usage of the LSP by this project, adding support for new IDEs should be far more achievable than a custom implementation for each editor. Please see the tracking issue to request support for another IDE or view the current status of IDE support.
This repository uses a Taskfile; install the task
command for a better experience developing in this repository.
The task fmt-and-lint
can be used to check the formatting and lint your code
to ensure it fits with the rest of the repository.
In VSCode, press F5
to build and debug the VSCode extension. This is the only
method of debugging that we have pre set-up.
The server itself is implemented in Rust using tower-lsp
. It communicates with
editors via JSON-RPC through standard input/output, according to the language
server protocol.
We appreciate contributions! I recommend reaching out on Discord (the invite to which can be found at pest.rs) before contributing, to check with us.