Can you run a version of vscode inside the browser without a server?

Viewed 286

Is there any way to run a version of VS Code inside a browser without a server? (inside a React or Angular app). Something like an enhanced version of the monaco editor.

Of course that means it will have some missing functionalities.

If not, are there any other options?

5 Answers

As far as I could find, it is possible to run VSCode in the browser (since we have vscode.dev), but there doesn't seem to be anyway to deploy it yourself yet?

This Github issue is probably what you want, but there isn't any information there (or on the repo) yet.

It does strongly suggest that https://github.com/microsoft/vscode is the version used for vscode.dev, so there might be things to be found there, until official instructions/embedding is possible.

I think it depends on how you treat vscode. if it is just a editor software, there'll be a lot of . For you customerization purpose, it sounds something like 'https://github.com/cdr/code-server'

Not sure if it helps, but you can try looking up gitpod.io. It opens up a visual studio code instance on your browser with options of installing extensions as well. Use the link like gitpod.io/#https://github.com/username/repo-name

Related