Skip to content

Repository files navigation

WX for VS Code

Visual Studio Marketplace Version

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.

Getting Started

  1. Install this extension from the Marketplace.
  2. Install the wx CLI (above).
  3. 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.
wx.formatter.indentSize Spaces per indent level (default 2).
wx.formatter.maxWidth Max line width for formatting (default 80).

Commands

  • WX: Restart Language Server — restart the server without reloading the window.

Feedback

Found a bug or missing feature? Open an issue.

About

WX language support for Visual Studio Code

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages