Monaco Loads In memory model even with Real file system #835
Replies: 1 comment
-
Is there any reason this was closed @vivekburman ? Do you already have a solution? I'm experiencing a similar issue. |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi, I've implemented my own LocalFileSystemProvider to use a real filesystem provider to work with real files in disk. Below wrapperConfig I'm not setting the
codeResources
undereditorAppConfig
since I want to post init() later in UI to load a specific file.Now when I call init() it starts with a inmemory model and after calling
await vscode.workspace.openTextDocument(uri);
. And then start(). It continues to work with inmemory model only all changes are passed to LSP for the inmemory model and not the URI file I loaded with openTextDocument.So my query is shouldn't it load the contents from openTextDocument onto the editor model and further changes be tracked on it?
WrapperConfig:
Beta Was this translation helpful? Give feedback.
All reactions