How to build the file system of monaco editor? #551
Answered
by
CGNonofr
newfish-cmyk
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
CGNonofr
Oct 16, 2023
Replies: 2 comments 8 replies
-
The language server runs on the real filesystem, so you either need a way to access the server filesystem from the client, or synchronize the client changes on the filesystem There is multiple way of doing it:
|
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
newfish-cmyk
-
Hi @newfish-cmyk can you share your solution repo? |
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
The language server runs on the real filesystem, so you either need a way to access the server filesystem from the client, or synchronize the client changes on the filesystem
There is multiple way of doing it:
registerFileSystemOverlay
fromcodingame/monaco-vscode-files-service-override
) (nice but not trivial to implement, requires a channel and a protocol)