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.
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
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.
- 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.
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.
Please visit the documentation website for configuration and diagnostics explanation.
MIT License
Copyright (c) 2024-present Pig Fang