Update to monaco-vscode-api 1.76 - #470
Conversation
I'm not sure to understand your question, what are you referring to? |
|
@CGNonofr sorry that was confusing. It was already late. 😊 What I suddenly observe is here: |
|
Parameters were added, we probably need to resynchronize with https://github.com/microsoft/vscode-languageserver-node/blob/18fad46b0e8085bb72e1b76f9ea23a379569231a/client/src/common/client.ts#L1749 |
👍 I suspected something like that, thanks, I will have a look. Looking where to tackle such problems is the questions sometimes. |
|
@CGNonofr have it running again locally, but need to check align/check changes |
|
@CGNonofr it is running again (worker and node server examples). I have moved things that should not be registered as default into |
Sure why not, even If I don't really know who will need them (: btw, I'm not sure why you added back CallHierarchyFeature, TypeHierarchyFeature and InlineValueFeature |
5a847a6 to
8d0d5ff
Compare
That was a mistake. I forced pushed an update. |
I wouldn't say the ConfigurationFeature and SyncConfigurationFeature are |
ok, then they should be registered at least. The question is if there is harm done if we just use the existing method of |
|
@CGNonofr I updated to Using vite-plugin-wasm makes things worse, that's why I disabled it again currently If you could allow the manual loading available again (optionally), then users of the library could define the wasm loading as required. But maybe you have another idea. |
It's just that the client will announce it supports features it doesn't really support, it's not ideal
Yeah it expect the wasm to be loaded as an url, vite-plugin-wasm probably loads the code from the wasm, we don't want that (vscode-oniguruma should do it)
I hesitated making it optional, it's just that it's a hack. We can put it back. There is others assets (audio cues mp3 and some others may come later ; like the macbook touchbar icons images) Feel free to issue a PR restoring that parameter as optional if you wish Btw to fix it here, you can put |
5e4c665 to
9b1a2f2
Compare
Agreed. I put back
This leads to a cors issue. I tried multiple config changes in vite, put nothing works. There must be a better solution for this. Can you inline the wasm directly when you build the library? Problem is if people need to fiddle around with tweaking bundlers (webpack fails without changes as well, btw) this will lead to adaptation issues of |
|
@CGNonofr I opened CodinGame/monaco-vscode-api#85 to discuss potential solutions to the problem above ⬆️ |
|
@CGNonofr This is ready now. Do you have time to test it, especially the new Langium example? |
|
@CGNonofr Do you see anything blocking the 5.0.0 release? I am in the process of updating README and CHANGELOGs |
|
I'm still working on some improvements of the api but I don't think it will require a major version here (even though it will change the recommended way of creating models) so let's release the 5.0 |
|
Then we release to 5.1 and the "jump" will be smaller than now. |



This is still WIP.
The basic client/server handshake currently fails with: "Sending document notification textDocument/didOpen failed" (worker or node server same behaviour.
@CGNonofr is it possible that using
this['_syncedDocuments']for example use inDidOpenTextDocumentFeatureand others no longer works with the new version?