WX for VS Code

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.
Features
- Diagnostics as you type
- Hover, go to definition, find references, rename
- Completions and signature help
- Semantic highlighting
- Format on save
Requirements
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/cli
or 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.
Use WX CLI 0.10.0 or newer, matching the syntax this extension highlights.
Getting Started
- Install this extension from the Marketplace.
- Install the
wx CLI (above).
- Open a
.wx file — the language server starts automatically.
Settings
| Setting |
Description |
wx.path |
Path to the wx executable. Leave empty to resolve it from PATH. |
Formatting is configured in your package's wx.json using
format.indent_width, format.max_line_width, and format.line_ending
("lf" or "crlf").
Format-on-save uses the same settings as wx format. The former
wx.formatter.indentSize and wx.formatter.maxWidth settings were removed
in extension version 0.2.0.
Commands
- WX: Restart Language Server — restart the server without reloading the window.
Feedback
Found a bug or missing feature? Open an issue.