CDL Syntax Highlighting for VS Code
This extension provides syntax highlighting for Compact Data Language (CDL) files in Visual Studio Code.
Features
- Syntax highlighting for CDL files
- Support for:
- Comments
- Strings (single and double quoted)
- Numbers (integers and floats)
- Keywords (true, false, null)
- Delimiters (brackets, braces, colons, commas)
- Auto-closing brackets and quotes
- Bracket matching
- Comment toggling
Installation
- Open VS Code
- Press
Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac) to open the Extensions view
- Search for "CDL Syntax Highlighting"
- Click Install
Usage
Files with the .cdl extension will automatically be recognized and syntax highlighted.
Example
# This is a comment
{
"name": "example",
"numbers": [1, 2.5, 3],
"boolean": true,
"null_value": null
}
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
| |