Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ElkNew to Visual Studio Code? Get it now.
Elk

Elk

Elk Language

| (0) | Free
Elk language support.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Elk

Language support for the Elk programming language in Visual Studio Code.

Features

  • Syntax highlighting for Elk source based on the language lexer and grammar
  • Language configuration for comments, brackets, auto-closing pairs, and indentation
  • File icons for Elk files in the explorer

Recognized file types

Extension Role
.elk Elk source
.elh Elk headers
.elt Elk templates
.elk.test Elk tests

Highlighting covers

  • Keywords, modifiers, and declaration forms (def, class, module, mixin, …)
  • Comments (//, #, /* */, #[ ]#) and doc comments (/** **/, ##[ ]##)
  • Strings (interpolated and raw), characters, regex literals, and symbols
  • Numbers (including sized and non-decimal literals)
  • Constants (Foo, $$foo, §foo), instance variables (@foo), and identifiers
  • Operators and special collection literals (\w[…], ^s[…], %x[…], …)

Requirements

None. Open an Elk file and the extension activates automatically.

Development

  1. Open this folder in VS Code or Cursor
  2. Press F5 to launch an Extension Development Host
  3. Open a .elk / .elh file and verify highlighting and language features

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft