Mutant for VSCode
Mutant for VSCode
Diagnostics, hover, completion, rename, formatting and semantic tokens for .mut files, served over LSP by the mlsp process.
git clone https://github.com/aoiflux/mutant
let scan = fn(path) {
let info, err = fs_hash(path, "sha256");
if (err) { return err; };
return
};
Install in three steps
- 1
Prerequisites
Go installed and working. · Node.js and npm installed.
- 2
Golden Path Commands
Run these from repository root unless noted.
- 3
Guided Hands-On Exercises
Goal: understand request flow and determinism.
Features
Diagnostics and Linting mutant-parser: parser errors from snapshot parse errors, plus the string/comment-aware delimiter-balance checker. Formatting Design If hard parse errors exist (or the snapshot is invalid), the formatter degrades to whitespace normalization only (CRLF - LF, strip trailing… Hover, Signature Help, and Teaching Metadata keyword hover docs · builtin hover/signature docs Semantic Tokens and Resilience Semantic token production is in analyzer logic and requested through textDocument/semanticTokens/full.
Read the design before you change it
The language server and the extension are documented end to end — request flows, deterministic behavior rules, and the change playbooks for each capability.