Language support for Coi: syntax highlighting, completions, hovers, signature help, and formatting.
- Full syntax highlighting for
.coi(includingview,style,init,mount,tick,testblocks andexpect) - A
Name.test.coitest file gets its own icon, a flask behind the wordmark - Automatic
.d.coidefinition discovery viacoi --defs-path(or setcoi.definitionsPathmanually) - Completions for platform APIs, keywords, core types, and common methods
- Hover + signature help for function calls and framework APIs
- Built-in document formatter for consistent spacing and indentation
| Setting | Default | Description |
|---|---|---|
coi.definitionsPath |
"" |
Path to .d.coi definitions. Empty = auto-detect via coi --defs-path. |
coi.format.enable |
true |
Enable COI document formatting. |
A module's tests fold under it in the Explorer (Merge.test.coi under Merge.coi): the extension
adds that nesting rule for .coi files. VS Code applies nesting rules only with file nesting on,
and opens the groups unless told otherwise, so in your settings:
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false- Shortcut:
Shift+Alt+F(Windows/Linux) orShift+Option+F(macOS) - Command Palette:
Format Document - Context menu:
Format Document