Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Lang languageNew to Visual Studio Code? Get it now.
Lang language

Lang language

dmezhnov

|
1 install
| (0) | Free
Syntax highlighting for the Lang language.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Lang — syntax highlighting for a small DSL

This extension adds support for the lang language in VS Code:

  • syntax highlighting for *.lang files (where clauses, types, variables, function-like definitions, etc.);
  • example programs in the examples folder;
  • tests that exercise every TextMate scope in the grammar.

Usage

  • Install the extension (locally from .vsix or from the Marketplace).
  • Open a file with the .lang extension — the language will be detected automatically.

Development

From the project root:

  • install dependencies (if needed):
bun install
  • generate the grammar and language configuration:
bun generate
  • run tests:
bun test

Packaging and publishing

  1. Build a .vsix package:
bunx vsce package
  1. Publish (requires a configured publisher on the VS Code Marketplace):
bunx vsce publish

Before publishing for real, replace the publisher field in package.json with your own Marketplace publisher identifier.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft