Open bengry opened 1 year ago
That would indeed be nice :) It's just not be an urgent upgrade for our purposes, so we haven't gotten to it. If someone would want to take a shot at it, that'd be much appreciated.
That would indeed be nice :) It's just not be an urgent upgrade for our purposes, so we haven't gotten to it. If someone would want to take a shot at it, that'd be much appreciated.
Thanks for the response.
An even better solution would be a rego tokenizer for Monaco Editor 🙃, which we use anyway (much better than CM from our experience). Rego is the last thing holding us from dropping CM completely.
There's a solution for VS Code, but it's not for the standalone Monaco Editor, and also not up-to-par with the CM implementation found in this repo.
If I may ask, who are "we"/"us" in this context? 😃
If I may ask, who are "we"/"us" in this context? 😃
Ah, of course. https://wiz.io :)
Alright! Good to see you here @bengry 🙂
Currently, this addon only supports CodeMirror 5, while CM 6 has been around for a while, and drastically changed the API. It allows using legacy languages, but either this addon doesn't support it, or I wasn't able to get it to work 😶.
Supporting CodeMirror 6 would be greatly appreciated, as it's much simpler to use, not to mention more modern in a lot of aspects.
Alternatively (and maybe even better) would be Monaco Editor support, but I'm not sure how big is the difference between them in terms of language support.