Skip to content

VS Code Extension

Krait edited this page May 28, 2026 · 1 revision

First-class support for KOSL is provided through a lightweight VS Code extension. It configures syntax highlighting, brackets auto-closing, and file explorer iconography association.

Manual Installation

To install the extension locally without publishing to the marketplace:

  1. Copy the vscode-extension directory to your local VS Code extensions directory:
    • Linux/macOS: ~/.vscode/extensions/kosl-lang
    • Windows: %USERPROFILE%\.vscode\extensions\kosl-lang
  2. Restart or reload your Visual Studio Code editor.

Key Features Enabled

  • Language Association: Automatically recognizes any files matching .kosl extensions.
  • Syntax Highlighting: Contextual highlighting of comments, operators, numbers, booleans, strings, and keys.
  • Brackets Matching: Highlights matching parenthetical blocks () and explicit array scopes [].

Auto-Closing Pairs

The extension configuration defines the following auto-closing characters automatically:

  • Quotes: "
  • Objects: ()
  • Arrays: []

Clone this wiki locally