-
Notifications
You must be signed in to change notification settings - Fork 0
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.
To install the extension locally without publishing to the marketplace:
- Copy the
vscode-extensiondirectory to your local VS Code extensions directory:-
Linux/macOS:
~/.vscode/extensions/kosl-lang -
Windows:
%USERPROFILE%\.vscode\extensions\kosl-lang
-
Linux/macOS:
- Restart or reload your Visual Studio Code editor.
-
Language Association: Automatically recognizes any files matching
.koslextensions. - Syntax Highlighting: Contextual highlighting of comments, operators, numbers, booleans, strings, and keys.
-
Brackets Matching: Highlights matching parenthetical blocks
()and explicit array scopes[].
The extension configuration defines the following auto-closing characters automatically:
- Quotes:
" - Objects:
() - Arrays:
[]