Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Coi LanguageNew to Visual Studio Code? Get it now.
Coi Language

Coi Language

Eric Wolf

|
26 installs
| (0) | Free
Language support for Coi - syntax highlighting, completions, hover, signature help, and formatting
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
coi-vscode Logo

Coi Language for VS Code

License: MIT PRs Welcome Marketplace

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:

"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false

Format document

  • Shortcut: Shift+Alt+F (Windows/Linux) or Shift+Option+F (macOS)
  • Command Palette: Format Document
  • Context menu: Format Document
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft