VS Code remote - SSH re-installing code-server
Hello
Is it normal for VS code to re-install code server on first connect using SSH?
Also the extensions I install from the browser app code-server are not installed when I connect to the workspace with VS Code Remote SSH.
I am running Coder in Kubernetes and using the default Kubernetes template, with the only change being addition of "storage_provider_name" so that data persists correctly in my environment.
The pictures show that the code-server is up and running with me connected from the web-app, and VS code also installing over SSH.
The other picture shows that I have the Terraform extension installed on the web-app but the SSH connection needs me to install it again.
This is the code-server install that is in the workspace template
These are the host definitions that VS code is using
P.S. why are there 2 for the same workspace Pod?
Thanks for the help
2 Replies
I think the fact it's installing the "VS Code server" is normal, since it's not the same as
code-server
, I think it's being used for file transfer and remote actions like installing extensions (i.e it's the server used to communicate from your VSCode to any server).
The extensions are not the same on your VSCode and on code-server
because they are not using the same extension marketplace, code-server
uses OpenVSIX which doesn't have every extension.
You can get code-server to use Microsoft's extension store using environment variables but it might be against ToS so I won't help you with that although it is fairly easy to do it.Ok that all makes sense.
I forgot that "microsoft VS Code" that comes pre-compiled is different than VS code compiled from source.
Thanks for the help