Installation
Install the Cerial VS Code extension from the Marketplace, command line, or VSIX file.
VS Code Marketplace
Marketplace publishing is not yet available. Use the Manual VSIX Install or Command Line methods below.
Command Line
Install from a downloaded .vsix file using the terminal:
code --install-extension path/to/cerial-0.1.0.vsixThis works with VS Code, VS Code Insiders (code-insiders), and Cursor (cursor).
Manual VSIX Install
- Download the
.vsixfile from the GitHub Releases page - Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Click the
...menu at the top of the Extensions panel - Select Install from VSIX...
- Choose the downloaded
.vsixfile
You can also find the latest extension release and download link in the extension release notes.
Compatible Editors
The extension works with any editor built on VS Code's extension API:
- VS Code (1.96.0+)
- VS Code Insiders
- Cursor
- Other VS Code-compatible editors that support the Language Server Protocol
Activation
The extension activates automatically when you open a .cerial file. There's nothing to configure or enable manually. The activation event is onLanguage:cerial, so the extension stays dormant until you actually work with a Cerial schema.
Verify the Installation
After installing, open any .cerial file in your project. You should see:
- Syntax highlighting on all keywords, types, and decorators
- Cerial shown as the language in the bottom status bar
- Completions appearing as you type inside a model or object block
If highlighting doesn't appear, check that the file extension is .cerial and that no other extension is claiming the file type. You can verify the active language mode by clicking the language indicator in the status bar and confirming it says "Cerial".
Format on save is enabled by default for .cerial files. If you want to adjust formatting behavior, see the Settings page for all available options.
VS Code Extension
Full language support for .cerial schema files with syntax highlighting, IntelliSense, diagnostics, formatting, navigation, and more.
Features
Detailed walkthrough of every feature in the Cerial VS Code extension, from syntax highlighting and IntelliSense to diagnostics, formatting, and navigation.