-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does remote depend on local files? #9871
Comments
Thanks for filing!
This is a good question, but no, remote files will stay in the remote environment (no source code needs to be copied to your local machine). Docs: https://code.visualstudio.com/docs/remote/remote-overview.
My guess is the bad connection is interfering with and slowing other connectivity activities the remote extensions perform: https://code.visualstudio.com/docs/remote/faq#_what-are-the-connectivity-requirements-for-vs-code-server. cc @chrmarti for any other thoughts |
The files you open in the editor are copied over. We try to optimize the amount of data sent, but a bad connection can still affect the experience. Is there anything specific not working (well)? |
What is not working well is if I am say on a plane with bad internet it will get stuck or be very slow on a step like:
I figured it might be copying over the vscode server from the local system instead of e.g. relying on curl to be available on the remote system. When I'm on a good connection this is instant. The unfortunate thing is that this defeats one of my main use cases for remote: getting access to a beefy machine with a good internet connection when I'm on the go with slow internet. |
Tracking that as #7473. Continuing there. |
I often try to use vscode remote when on a bad connection, e.g. wifi. My usual workflow is to spin up a pod in a k8s cluster with ample resources and then do a "Connect to VSCode" from VSCode desktop. But I've noticed this is a lot slower (sometimes won't work) on certain connections. Does VSCode remote rely on copying over local files / the server in any way, or any ideas what would cause this? Thanks!
The text was updated successfully, but these errors were encountered: