Replies: 2 comments 2 replies
-
I think I've got it. The problem caused by version conflict. The current monaco-languageclient depends on @codingame/monaco-vscode-api 15.0.3. But the latest version is 16.0.3. I've fixed dependencies and now it works much better. I've got two versions now:
LSP works fine. But code highlighting doesn't work. There is the following message in the console:
Code highlighting works. But LSP doesn't work. The messages in the console:
The code is almost identical in both cases. Why LSP doesn't work in the 2nd example? Why worker is not created correctly? Probably I could use monaco-editor-wrapper or monaco-editor-react. But they doesn't work in my examples either and it's much harder to figure out why because there are a lot of magic behind them |
Beta Was this translation helpful? Give feedback.
-
Hi @AresEkb the configuration is fully typed and there are many examples in the repo. Maybe there needs to be more text explaining what is possible. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to follow Getting started guide
Here is a sample project: https://github.com/AresEkb/monaco-editor-lsp-test
It throws the following error: "Duplicate extension point: authentication"
Could you please help to fix it?
Beta Was this translation helpful? Give feedback.
All reactions