Replies: 1 comment 2 replies
-
Definitely doable. In fact, our first iteration of code-server essentially did this. We shimmed the Node API so extensions and the entirety of VS Code could run directly in the browser. In our case we made those API calls go out to the server but they could just as easily have been made to use browser storage, etc. When VS Code came out with their web stuff we abandoned our initial implementation simply because it was less maintenance. This method could still be used today to run the non-web version of VS Code in the browser. It could also be used with the web version although some additional changes would need to be made. Something like:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As titled. Why is a backend server necessary? In theory, VSCode's web layer could be componentized, and backend communication replaced with in-browser APIs that interact with in-browser storage, e.g.
IndexDB
.Is this possible?
If not, why?
If so, how can it be done?
Beta Was this translation helpful? Give feedback.
All reactions