Adds syntax highlighting for CEL (Common Expression Language) to Visual Studio Code.
Install it from the Visual Studio Code Marketplace.
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 into the editor window while you're working on the plugin to get live feedback.
The project includes a test suite (using the wonderful 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.