Replies: 2 comments 22 replies
-
Hi @Tnze can you share your code or provide an example in a separate GitHub repository? Thank you |
Beta Was this translation helpful? Give feedback.
2 replies
-
I got the lsp functions working! By add this line: monaco.languages.register({ id: 'c', aliases: ['c'] }) But highlight is still missing. I guess some override service are needed. |
Beta Was this translation helpful? Give feedback.
20 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After #583, I already established the connection between language server and this package.
But it doesn't seem to be working:

I think I didn't configure
monaco-languageclient
in the right way. But I don't know how to find the problem.I suspect that's because I configured
monaco-editor
first, and introducemonaco-languageclient
later. So I didn't call the right setup function. For example, I callmonaco.editor.create
instead ofcreateConfiguredEditor
fromvscode/monaco
, does it matter? I also tried to usecreateConfiguredEditor
but it doesn't work too.I also have highlight working before introducing
monaco-languageclient
, so it also maybe is thepnpm
overrides doesn't work property?The current situation leaves me with no clue. I would be very grateful if someone could provide any ideas.
Beta Was this translation helpful? Give feedback.
All reactions