microsoft/typescript-styled-plugin

Support for monaco editor

rob-myers opened this issue · 1 comments

There seems to be a lack of css-in-js syntax highlighting support for web-based editors.

So far, the only solution I know is to create a custom CodeMirror mode, which integrates a TemplateTokenizer from the codemirror/google-modes repo.

I'd prefer to use your plugin somehow with monaco-editor, but is that even possible (modulo a refactor)?

mjbvz commented

This is out of scope for this project. However you can see if you can get Monaco's built-in TS support to load language service plugins like this