Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Contxt Language ToolsNew to Visual Studio Code? Get it now.
Contxt Language Tools

Contxt Language Tools

loganvxr

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

Contxt VS Code Extension

This extension adds support for the Contxt language (.cx) with:

  • Syntax highlighting (TextMate grammar)
  • Language Server Protocol features:
    • Diagnostics (basic syntax checks)
    • Hover on keywords/types
    • Keyword/type completion
    • Document symbols for functions and variables

Language coverage includes modern Contxt syntax such as:

  • % modulo
  • ** exponent
  • dotted member/function calls like module.func()
  • optional function return type annotations

Project layout

  • src/extension.ts: VS Code client entry point
  • src/server.ts: LSP server implementation
  • syntaxes/contxt.tmLanguage.json: syntax highlighting grammar
  • language-configuration.json: comments, brackets, auto-closing pairs

Build and run

cd vscode-contxt
npm install
npm run compile

Then open this folder in VS Code and press F5 to launch the Extension Development Host. Open any .cx file (for example ../main.cx) to verify highlighting and language features.

Package as VSIX

cd vscode-contxt
npm install
npm run package

This produces a .vsix file in the extension folder.

Install locally in VS Code

npm run install-local

If the code shell command is not available, use VS Code's Extensions view and choose Install from VSIX....

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