I'm building a custom IDE (using Electron) and am trying to integrate Volar into VS Code's Monaco Editor.
Currently I have no syntax highlighting for .vue
files:
My understanding is that I need to run an LSP server in a separate process and somehow connect that to Monaco using web-sockets? I'm not going to lie, I'm having a hell of a time figuring this out. And there don't seem to be any documentation/examples for this online (as of 2/20/22). Every attempt I've made so far at getting this to work has failed :(
Has anyone successfully connected Volar to the Monaco editor?
Any help would be greatly appreciated, thank you.