Notepad++ is probably the second most common editor that will get used for .sml, and is easy and common to pop open alongside Visual Studio (Community/Pro, not Code). It's not as hostile as VSC without language support, but the highlighting isn't great either.
For me it's been defaulting to "Caml", which provides some very basic highlighting that's not exactly wrong but not very helpful either. XML is actually not too bad, but unsurprisingly doesn't highlight brace or pipe attributes in a meaningful way. HTML is just broken.
Their system is called User Defined Languages, and while the documentation is far from approachable, there seem to be straightforward examples to follow, e.g. one for Twig HTML and another for TOML. I imagine it's not all that difficult once you understand it.
Unfortunately it doesn't seem like one can simply borrow from the existing HTML or XML support, because those are lexilla parsers and not UDLs, but if it can be done for all these other languages then StarML shouldn't be hard.
Notepad++ is probably the second most common editor that will get used for
.sml
, and is easy and common to pop open alongside Visual Studio (Community/Pro, not Code). It's not as hostile as VSC without language support, but the highlighting isn't great either.For me it's been defaulting to "Caml", which provides some very basic highlighting that's not exactly wrong but not very helpful either. XML is actually not too bad, but unsurprisingly doesn't highlight brace or pipe attributes in a meaningful way. HTML is just broken.
Their system is called User Defined Languages, and while the documentation is far from approachable, there seem to be straightforward examples to follow, e.g. one for Twig HTML and another for TOML. I imagine it's not all that difficult once you understand it.
Unfortunately it doesn't seem like one can simply borrow from the existing HTML or XML support, because those are lexilla parsers and not UDLs, but if it can be done for all these other languages then StarML shouldn't be hard.