vscode-web
vscode-web copied to clipboard
How to communicate with external pages ?
My scenario is to use the IDE nested in a page, and I need to control the file content in the IDE through the page. Is there any way to expose the memfs instance? thanks !
My version of this has a very minimal patch to allow extensions to postMessage up to the host page, which allows you to transfer a MessageChannel port from an extension, allowing further communication.
https://github.com/progrium/vscode-web/tree/main/patched