Language support for Coi: syntax highlighting, completions, hovers, signature help, and formatting.
What you get
Full syntax highlighting for .coi (including view, style, init, mount, tick, test blocks and expect)
A Name.test.coi test file gets its own icon, a flask behind the wordmark
Automatic .d.coi definition discovery via coi --defs-path (or set coi.definitionsPath manually)
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
Settings
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: