The server is still in an early state. It is usable but many advanced features have not yet been implemented.
The server has not yet had a stable release. You can build and install it locally if you would like to experiment with it in the meantime.
Installing the Server
The easiest way to install the server is to grab one of the prebuilt binaries under releases.
Building from Source
First ensure you have the rust toolchain installed, then proceed as follows:
git clone https://github.com/wasm-lsp/wasm-lsp-server cd wasm-lsp-server cargo xtask init cargo xtask install
Selecting the Async Runtime
The table below describes how to select a runtime. The
tokio runtime is selected by default.
Installing the Client Extension
Once the server is installed you can install the Visual Studio Code client extension.
Supported Document Types
||WebAssembly module definition|
Supported WebAssembly Proposals
The server also supports parsing WebAssembly modules that use the following features:
Phase 4 (Standardization)
Phase 3 (Implementation)
Phase 2 (Specification)
Phase 1 (Proposal)
Phase 0 (Pre-Proposal)
Language Server Feature Support
☑document parsing via wasm tree-sitter grammars ☑document symbol provider ☑syntax error diagnostics provider ☑incremental document synchronization
Language Server Feature Roadmap
- ☐ code action provider
- ☐ code lens provider
- ☐ completion provider
- ☐ definition provider
- ☐ document formatting (full and ranged) provider
- ☐ document highlight provider
- ☐ hover provider
- ☐ references provider
- ☐ workspace symbol provider
- ☐ semantic tokens provider
- ☐ signature help provider
- ☐ document validation
- ☐ integration with existing wasm toolchains
- ☐ implementation of the Debug Adapter Protocol