Language support for the Bismut programming language.
- Syntax Highlighting — full TextMate grammar for
.mutfiles - Diagnostics — real-time error and warning reporting with squiggly underlines
- Hover Info — type signatures, doc comments, and symbol kinds on hover
- Go to Definition —
Ctrl+ClickorF12to jump to definitions - Find References —
Shift+F12to find all usages of a symbol - Document Symbols —
Ctrl+Shift+Ofor outline view - Code Completion — dot-triggered completion for class/struct members, plus keyword and symbol completion
- Run Button — play button in the editor title bar to run the current file
Build the extension first:
./build.shThis produces a .vsix file in dist/. Install it using any of these methods:
code --install-extension dist/bismut-lang-0.1.0.vsix- Open VS Code
Ctrl+Shift+P-> Extensions: Install from VSIX...- Navigate to
dist/and select the.vsixfile
Drag the .vsix file from your file manager into the VS Code Extensions sidebar.
- Bismut compiler binary (
bismut) must be installed and accessible - The compiler must support the
analyzesubcommand (v0.1+)
| Setting | Default | Description |
|---|---|---|
bismut.compilerPath |
"" |
Path to the Bismut binary. If empty, bismut must be on PATH. |
bismut.compilerDir |
"" |
Compiler root directory (--compiler-dir). If empty, uses the binary's directory. |
bismut.analyzeOnSave |
true |
Run analysis on file save. |
bismut.analyzeOnType |
true |
Run analysis as you type (debounced). |
bismut.analyzeDebounceMs |
800 |
Debounce delay in ms for on-type analysis. |
| Command | Keybinding | Description |
|---|---|---|
Bismut: Run Current File |
Ctrl+Shift+R |
Build and run the active .mut file |
Bismut: Build Current File |
— | Compile the active .mut file |
Bismut: Analyze Current File |
— | Run analysis and update diagnostics |
The extension calls bismut analyze <file.mut> which runs the full compiler pipeline
(preprocess -> parse -> resolve -> typecheck) without code generation, outputting JSON with
diagnostics and symbol information. This data drives all IDE features.