mirror of
https://github.com/g-plane/wasm-language-tools.git
synced 2025-12-23 11:12:52 +00:00
Language server and other tools for WebAssembly.
|
|
||
|---|---|---|
| .github | ||
| crates | ||
| docs | ||
| media | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| cliff.toml | ||
| dprint.json | ||
| LICENSE | ||
| README.md | ||
WebAssembly Language Tools
WebAssembly Language Tools aims to provide and improve the editing experience of WebAssembly Text Format. It also provides an out-of-the-box formatter (a.k.a. pretty printer) for WebAssembly Text Format.
Wasm 3.0 is supported.
📌 Features
Code Completion
Go to Definition
Find References
Hover
Rename
Document Symbols
Diagnostics
Inlay Hint
Code Action
Formatting
Semantic Highlighting
Call Hierarchy
Signature Help
Type Hierarchy
🍵 Usage
Try it Online
Open vscode.dev, then search and install the gplane.wasm-language-tools extension.
After installed, open or create a ".wat" file to try it out.
Editor Support
- Visual Studio Code: Install the WebAssembly Language Tools extension.
- Neovim: Built-in support in nvim-lspconfig:
vim.lsp.enable("wasm_language_tools") - Zed: Install the WebAssembly Text Format extension.
- Helix: Built-in support.
Binaries
We've provided pre-built binaries on GitHub Releases. You can download it according to your platform, then extract it from the compressed file. Or, read the documentation for alternative installation methods.
📚 Documentation
Please visit the documentation website for configuration and diagnostics explanation.
📜 License
MIT License
Copyright (c) 2024-present Pig Fang