CEL Language Support
Language support for Common Expression Language (CEL) in Visual Studio Code, powered by the celsp language server.
Features
- Syntax highlighting for
.cel files
- Diagnostics, completions, and hover information via LSP
- CEL validation inside protobuf files (
.proto)
- Automatic language server download and updates
Getting Started
Install the extension from the VS Code Marketplace. The CEL language server binary is downloaded automatically on first activation.
Supported platforms: macOS (x64, arm64), Linux (x64).
Extension Settings
| Setting |
Default |
Description |
cel.server.path |
celsp |
Path to the celsp binary. Set this to use a manually installed binary. |
cel.server.args |
[] |
Additional arguments to pass to the language server. |
cel.server.version |
latest |
Server version to download. Use "latest" or pin a tag like "v0.3.1". |
cel.trace.server |
off |
Traces communication between VS Code and the language server. |
Commands
| Command |
Description |
CEL: Update Language Server |
Check for and download language server updates. |
CEL: Restart Language Server |
Stop and restart the language server. |
Manual Installation
If you prefer to install the language server manually (or are on an unsupported platform):
- Download
celsp from celsp releases
- Place the binary on your
PATH, or set cel.server.path to its location
License
MIT
| |