Language support for Coi: syntax highlighting, completions, hovers, signature help, and formatting.
- Full syntax highlighting for
.coi(includingview,style,init,mount,tick) - 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. |
- Shortcut:
Shift+Alt+F(Windows/Linux) orShift+Option+F(macOS) - Command Palette:
Format Document - Context menu:
Format Document