Skip to content
coiPublic

About

Visual Studio Code extension for Coi.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

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

About

Visual Studio Code extension for Coi.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages