Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Connect to Code Server's server from VS Code for Desktop #2402

Answered by code-asher
SergioLuis asked this question in Q&A
Discussion options

Hello!

Is it possible to connect to the Code Server's server (the backend it is running) from Visual Studio Code Desktop? My use case would be to just use my Desktop application when possible, then switch to the browser-based editor when on the go.

My Code Server setup is running on a Docker container if it matters.

You must be logged in to vote
It's not possible unfortunately. The remote extensions download VS Code's server backend and execute then connect to that. So the only way to make this work would be to modify the remote extensions to work with code-server but since they're closed source we can't and we'd need to re-implement them entirely. There's no timeline for it at the moment but tracking for re-implementing open source versions of those extensions can be found here: #1315 For now I think the only workaround is to run both separately. You could set code-server's user data directory to the one VS Code remote uses in order to share plugins and settings.

Replies: 3 comments 2 replies

Comment options

It's not possible unfortunately. The remote extensions download VS Code's server backend and execute then connect to that. So the only way to make this work would be to modify the remote extensions to work with code-server but since they're closed source we can't and we'd need to re-implement them entirely. There's no timeline for it at the moment but tracking for re-implementing open source versions of those extensions can be found here: #1315 For now I think the only workaround is to run both separately. You could set code-server's user data directory to the one VS Code remote uses in order to share plugins and settings.
You must be logged in to vote
1 reply
Comment options

Thank you so much 👍

Answer selected by SergioLuis
Comment options

hey, I know I'm kind of a random here. But I just figured this out this morning....

you can install PWA's like code-server as app's using chrome. Linked an image, of the button in the url bar in chrome to 'install' that page. That gives you basically a native-like VS Code experience, entirely separate from your browser. Then on the go, you just go to your site like normal.

You must be logged in to vote
1 reply
Comment options

Thanks, this helps!

Comment options

try something like this if you are on macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --new-window --app=http://192.168.100.8:8078/\?folder\=/home/coder/projects/manger

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /