Actus Language Support for VS Code
Official Visual Studio Code extension for the Actus programming language — a systems language built on the ergative ownership model (erg, abs, ins, dat).
Full documentation: actus-lang.org/vscode
Quick Start
- Install Actus Language Support from the VS Code Marketplace.
- Open any
.act file or Actus project. If actus is not installed yet, the extension can automatically download and verify the latest official release for Linux (x86-64), macOS (arm64), or Windows (x86-64).
- Prefer installing from your terminal?
- Linux / macOS:
curl -fsSL https://actus-lang.org/install.sh | sh
- Windows (PowerShell):
irm https://actus-lang.org/install.ps1 | iex
Learn more: Overview & Installation
Features
Actus Ownership Panel
Inspect every participant in your code directly from the compiler's own analysis (actus/memoryGraph and actus/semanticModel). The dedicated Actus Ownership bottom panel groups events by verb, shows each participant's role (erg, abs, ins, dat) and state transitions (Active, Moved, Frozen, Suspended, Dropped), renders scalars as values without cleanup, and lets you filter by role, sync with your cursor, hover to highlight connectors, and click any event to jump to its line.

Learn more: The Ownership Panel
Automatically discovers meta test verbs across your workspace, grouped by each project's nearest Actus.toml. Run a single test from the editor gutter, run a whole file, or run an entire project suite with colorized output in the Test Results panel.

Learn more: Tests in VS Code
Ergative Syntax Highlighting & Snippets
Role-colored syntax highlighting and LSP semantic tokens matching actus-lang.org:
erg (owner): #4ADE80
abs (read-only view): #60A5FA
ins (exclusive call-scope loan): #FACC15
dat (ownership transfer): #F472B6
Includes # line comments, """ documentation blocks, wrapping/saturating operators (+%, +|, etc.), numeric suffixes, and ready-to-use snippets (verb, test, struct, enum, pack, case, caseres, caseopt, doc) validated against actus check.
Learn more: Snippets & Editor Features
Compiler-Backed Language Server, actus explain & actus fix
Powered directly by actus lsp for diagnostics, hover documentation, go-to-definition, completion, rename, and document formatting (works with VS Code's editor.formatOnSave). Use Actus: Apply Safe Fixes (actus fix) to apply compiler-verified fixes, or click the Explain Actus E#### Quick Fix to open actus explain in a side-by-side preview.
Learn more: Overview & Installation
- Actus Commands Sidebar & Tasks: Run
init, check, build, run, test, fix, fmt, fmt-check, watch, lock, conformance, publish, and version from the sidebar, Command Palette, or type: "actus" VS Code tasks (Ctrl+Shift+B) with the $actus problem matcher.
- Status Bar & Quick Actions: Shows the active compiler version, build profile, and target triple with the Actus logo; click it to restart the server, open the Ownership Panel, switch profile, check toolchain updates, or copy the MCP server config.
- Project Wizard & Helpers: Create a new project with Actus: Create New Project... (
std or core runtime), copy an actus mcp configuration snippet with Actus: Copy MCP Server Config, and validate Actus.toml via tomlValidation (requires the Even Better TOML extension).
Learn more: Commands, Tasks & Status Bar
Settings
| Setting |
Default |
Description |
actus.lsp.path |
"actus" |
Path to the Actus compiler binary. Falls back automatically if a configured path is missing. |
actus.target |
"host" |
Target triple forwarded to actus lsp for target filtering and inactive-code dimming. |
actus.profile |
"debug" |
Build profile ("debug" or "release") passed via --profile to build, run, and test commands, tasks, and the Test Explorer. |
actus.toolchain.autoDownload |
"auto" |
Automatic toolchain download behavior when actus is missing ("auto", "prompt", "off"). |
actus.toolchain.version |
"latest" |
Toolchain version to install ("latest" or an explicit release version such as "0.3.0"). |
actus.toolchain.addToTerminalPath |
true |
Prepend the resolved Actus bin directory to VS Code integrated terminals. |
Full reference: Settings Reference
Building from Source
npm install
npm run verify # hygiene check, typecheck, build, and tests
npm run package # build the .vsix archive