Enhance your development workflow with comprehensive support for the Xel programming language in Visual Studio Code including syntax highlighting, language configuration, and grammar integration.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
This extension provides official syntax highlighting and language recognition for the Xel programming language in Visual Studio Code.
Overview
Xel Syntax & Language Tools enables rich syntax highlighting and accurate language recognition for .xel files. It is the official extension for working with Xel source code, designed to help developers write clean and expressive Xel code within a familiar editor.
Features
Full TextMate grammar for .xel source files
Highlighting for:
Language keywords (let, fn, if, class, etc.)
Function declarations and calls
Strings with escape sequences
Single-line (//) and block (/* */) comments
Numeric literals (integer and float)
Boolean values (true, false)
Operators (=, ==, +, etc.)
File extension .xel is automatically recognized
Language mode switch to Xel from the VS Code status bar
Predefined code snippets for:
Variable declarations (let, const)
Function definitions
Class declarations and members
Control structures (if, while, try-catch)
Module imports
Getting Started
Installation
Open Visual Studio Code
Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS)
Search for Xel Syntax & Language Tools
Click Install
Open or create a .xel file to get started
Using Snippets
Begin typing any Xel keyword (e.g. fn, class, try) and select a snippet from the auto-suggest menu. Snippets help you scaffold common code patterns faster and with fewer errors.
Extension Metadata
Field
Value
Extension Name
Xel Syntax & Language Tools
Language ID
xel
File Extension
.xel
VS Code Engine
^1.98.0
Category
Programming Languages
Syntax Scope Name
source.xel
Syntax Config Path
./syntaxes/xel.tmLanguage.json
Language Config Path
./language-configuration.json
Roadmap
Planned improvements for future versions:
Language Server Protocol (LSP) support for diagnostics, completion, and more
Indentation and formatting rules
Hover tooltips and go-to-definition
Code linting and warnings
Contributing
Contributions are welcome. You can:
Fork the repo and open a pull request
Submit bug reports or feature suggestions via GitHub Issues
Help improve the grammar rules for better syntax coverage
License
Licensed under the MIT License. See LICENSE for details.