Language support for WX, a Rust-inspired language that compiles directly to WebAssembly. Try WX in the browser first at wx-lang.deno.dev if you just want to poke around without installing anything.
- Diagnostics as you type
- Hover, go to definition, find references, rename
- Completions and signature help
- Semantic highlighting
- Format on save
This extension talks to the wx CLI's language server — it doesn't bundle a binary. Install wx and make sure it's on your PATH:
npm install -g @wx-lang/clior build it from source (see the main README). If wx isn't on your PATH, point the extension at it directly with the wx.path setting.
- Install this extension from the Marketplace.
- Install the
wxCLI (above). - Open a
.wxfile — the language server starts automatically.
| Setting | Description |
|---|---|
wx.path | Path to the wx executable. Leave empty to resolve it from PATH. |
wx.formatter.indentSize | Spaces per indent level (default 2). |
wx.formatter.maxWidth | Max line width for formatting (default 80). |
- WX: Restart Language Server — restart the server without reloading the window.
Found a bug or missing feature? Open an issue.