An open API service indexing awesome lists of open source software.

https://github.com/hmarr/vscode-cel

🎨 VS Code syntax highlighting for CEL
https://github.com/hmarr/vscode-cel

textmate-grammar vscode

Last synced: 4 months ago
JSON representation

🎨 VS Code syntax highlighting for CEL

Awesome Lists containing this project

README

          

# vscode-cel

[![CI](https://github.com/hmarr/vscode-cel/actions/workflows/ci.yml/badge.svg)](https://github.com/hmarr/vscode-cel/actions/workflows/ci.yml)

Adds syntax highlighting for [CEL (Common Expression Language)](https://opensource.google/projects/cel) to Visual Studio Code.


CEL syntax highlighting

Install it from the [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=hmarr.cel).

## Developing

Clone the project, and open up in vscode. Start a debugging session (just press F5) to launch a new window with the plugin loaded, and hack away.

You might find it helpful to copy the contents of [examples.cel](examples/examples.cel) into the editor window while you're working on the plugin to get live feedback.

The project includes a [test suite](syntaxes/tests) (using the wonderful [vscode-tmgrammar-test](https://github.com/PanAeon/vscode-tmgrammar-test)). To run the tests, it's `npm test`. If you run the "Run grammar tests" task in vscode, you'll get failure annotations in the test files if something's not working. If you're contributing any improvements or fixes, I'd be grateful if you could include a test. Fortunately vscode-tmgrammar-test makes them pretty easy to write.