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.
-
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 createfileSystemProvider
and other things before usingcreateModelReference
or can I simply replacecreateModel
withcreateModelReference
without 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