This repo holds a language server for LALRPOP, an LR(1) parser generator for Rust.
Installation
Install the extension from the VSCode Marketplace.
The first cold start up will be slow because the extension will try to install the language server binary through cargo if it doesn't see lalrpop-lsp in PATH. You can always remove the downloaded binary by running cargo uninstall lalrpop-lsp and switch to a manually downloaded version.
Head's up (!)
This extension is still in active development, so please report any issue you encounter here.
Features
Go to Definition
Find References
Hover
Error Diagnostics
Development using VSCode
pnpm i
cargo build
Open the project in VSCode: code .
In VSCode, press F5 or change to the Debug panel and click Launch Client.
In the newly launched VSCode instance, open a folder that contains a lalrpop file.
If the LSP is working correctly you should see syntax highlighting and the features described below should work.