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-languageclientin the right way. But I don't know how to find the problem.I suspect that's because I configured
monaco-editorfirst, and introducemonaco-languageclientlater. So I didn't call the right setup function. For example, I callmonaco.editor.createinstead ofcreateConfiguredEditorfromvscode/monaco, does it matter? I also tried to usecreateConfiguredEditorbut it doesn't work too.I also have highlight working before introducing
monaco-languageclient, so it also maybe is thepnpmoverrides 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