Closed Kizjkre closed 4 months ago
Following up on this, would we want this in the Monaco IDE editor, Ace Editor, or some variant of Prism.js? @Kizjkre
Seems like both of these are added on the beta version? Hex numbers are highlighted dark blue and 1.5.x.x syntax like eon
are recognized.
Oh yeah, I added eon
and a couple other things manually to the syntax highlight list of Monaco here: https://github.com/terryzfeng/webchuck-ide/blob/871695ac1505779a9f87aae8f49e0f03e38d3e17/src/components/monaco/chuck-lang.ts#L66
Hex is handled here: https://github.com/terryzfeng/webchuck-ide/blob/871695ac1505779a9f87aae8f49e0f03e38d3e17/src/components/monaco/chuck-lang.ts#L193-L196
I guess it's all good on the IDE then :)
Yeah, looks good; I'll close this.