Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>OxeonNew to Visual Studio Code? Get it now.
Oxeon

Oxeon

Preview

Oxeon

|
3 installs
| (0) | Free
Language support for Oxeon, the Rust-like scripting language for modding Bevy games
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Oxeon for Visual Studio Code

Language support for Oxeon, the Rust-like scripting language for modding Bevy games. Source code and issues are on GitHub.

Features

  • Syntax highlighting for .ox files
  • Errors as you type, from the Oxeon parser
  • Go to definition, find references and highlighting of other uses for items, fields, variants, modules, imports, generic parameters and local variables
  • Hover showing a name's declaration and doc comments
  • Completion of names in scope, members after ::, fields and methods after ., keywords and primitive types
  • Type checking as you type, with inferred types in hovers and as inlay hints
  • Rename, keeping shorthand fields (Point { x }) and imported aliases correct
  • Signature help and parameter-name inlay hints at call sites
  • Semantic highlighting: parameters, variables, fields, constants and mutable bindings are told apart
  • Unused-variable warnings, and quick fixes for them and for "did you mean" suggestions
  • Go to implementation (from a type or trait to its impl blocks) and expand selection
  • Errors as you type for duplicate definitions and misspelled variants or module paths, with "did you mean" suggestions
  • Outline and breadcrumbs for structs, enums, traits, impls and functions
  • Code folding for items and groups of use declarations
  • Highlighting in Markdown: code blocks fenced with ```oxeon (or ```ox) are highlighted as Oxeon in the Markdown editor
  • Snippets for Bevy mods: plugin, system, component, resource, message, plus common Rust constructs
  • Oxeon: Show Syntax Tree, a live view of the parsed syntax tree beside your file
  • A status bar item showing whether the language server is running

Language server

The editor features beyond highlighting and snippets come from the oxeon-lsp language server. The extension finds it in this order:

  1. The oxeon.server.path setting

  2. The server bundled with the extension. Platform-specific builds (Linux, Windows, macOS) include it, so no setup is needed.

  3. oxeon-lsp on your PATH. On platforms without a bundled server, install it from source:

    cargo install --git https://github.com/kcuwashere/oxeon oxeon-lsp
    

Settings

Setting Description
oxeon.server.path Path to the oxeon-lsp executable. Relative paths resolve against the workspace folder.
oxeon.server.extraEnv Extra environment variables for the server
oxeon.trace.server Log LSP messages to the output panel (off, messages, verbose)

Commands

  • Oxeon: Restart Language Server
  • Oxeon: Show Syntax Tree
  • Oxeon: Show Language Server Output

Status

This extension is a preview, and Oxeon itself is in early development. Names and types are checked within a single file. Types from outside the file (the game's bindings, std) are treated as unknown for now, so they never cause errors, but completion after . on them has nothing to offer yet.

Development

npm ci
npm run build        # bundle the extension into out/
npm test             # grammar tests
npm run test:e2e     # end-to-end tests in a real VS Code (opens a window; use xvfb-run in CI)
npm run package      # .vsix for this platform with oxeon-lsp bundled, in dist/
npm run package:universal   # .vsix without a bundled server

The grammar is generated: edit scripts/gen-grammar.py, then run npm run grammar.

To try local changes, open this folder in VS Code and press F5, or install a packaged build with code --install-extension dist/<file>.vsix.

Releasing

  1. Update version in package.json and add a section to CHANGELOG.md. A Marketplace version can't be published twice.
  2. On GitHub, run Actions → Release VS Code extension → Run workflow. It tests and builds every package, then publishes them to the Visual Studio Marketplace (Trusted Publishing, no secret) and Open VSX (the OVSX_PAT secret).

One-time setup is described at the top of .github/workflows/release-vscode.yml.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft