Question about createModelReference? #490
Replies: 2 comments 1 reply
-
|
@CGNonofr do you have any thoughts on this? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
@CGNonofr do you have any thoughts on this? |
Beta Was this translation helpful? Give feedback.
-
|
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.
-
Hello Team,
I was going through the README and found this new method of creating a model using
createModelReference. I'm using a websocket LSP server to provide LSP support in the Monaco editor. So, do I still need to createfileSystemProviderand other things before usingcreateModelReferenceor can I simply replacecreateModelwithcreateModelReferencewithout making any other changes?One more thing: It seems like all the methods we used to access, like
model.updateOptions, have been moved insidemodelRef.object.textEditorModel. Am I right?Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions