Open dwilt opened 9 months ago
+1 on this
+1
You might have some luck following this guide: https://ohdarling88.medium.com/4-steps-to-add-custom-language-support-to-monaco-editor-5075eafa156d
Or it seems like there is an already existing vscode extension for this: https://github.com/hmarr/vscode-cel
Although it uses TextMate grammars, which I guess Monaco cannot directly consume. But there seems to be another GitHub project that promises to do that: https://github.com/zikaari/monaco-editor-textmate
Will also appreciate adding support for this
I'm looking to put CEL into a Monaco instance so I can have syntax highlighting and autocomplete. I've done some googling but haven't come across a custom language file that someone built for Monaco and its not supported as a default language. Does anyone here know if this has already been built?