Skip to content
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

Can't save workspace locally when using remote extension #109713

Closed
jonnyijapan opened this issue Oct 30, 2020 · 14 comments
Closed

Can't save workspace locally when using remote extension #109713

jonnyijapan opened this issue Oct 30, 2020 · 14 comments
Assignees
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders remote Remote system operations issues verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@jonnyijapan
Copy link

Issue Type: Feature Request

Can't save workspace locally when using remote extension, and connected remotely.
The feature used is "File>Save Workspace as..."

This used to work, but it doesn't seem to work anymore. All that shows up is directories remotely.

VS Code version: Code 1.50.1 (d2e414d, 2020-10-13T14:53:05.704Z)
OS version: Darwin x64 19.6.0
Remote OS version: Linux x64 4.18.0-193.6.3.el8_2.x86_64

@vscodebot
Copy link

vscodebot bot commented Oct 30, 2020

@buzhangjiuzhou
Copy link

I also heavily rely on this feature, can you add it back?

@aeschli
Copy link
Contributor

aeschli commented Nov 2, 2020

The workaround is to store the workspace on remote and opening it from the local side either from the recent menu or by using the command line:
code --remote ssh+remotetaddr /home/you/workspacefile.code-workspace

@aeschli aeschli added the feature-request Request for new features or functionality label Nov 2, 2020
@aeschli aeschli added this to the Backlog milestone Nov 2, 2020
@aeschli aeschli added the remote Remote system operations issues label Nov 2, 2020
@buzhangjiuzhou
Copy link

The workaround is to store the workspace on remote and opening it from the local side either from the recent menu or by using the command line:
code --remote ssh+remotetaddr /home/you/workspacefile.code-workspace

But it is not convenient to do so as I have to memory or store this command somewhere, also it helps to some extent, VScode save locally is better.

@vince-zeng
Copy link

vince-zeng commented Nov 4, 2020

Is the workaround is the only way for this issue? I don't understand why not allow the remote folder to local workspace.
Roll back to vscode 1.49.3 is a good choice to me.

@Aetherbase
Copy link

@aeschli I feel it is senseless that we have to disable the entire feature because of a minor issue. Many projects of mine and my clients and people around here too were reliant on the feature because of convenience. Maybe enable the feature and warn the users for the encoding issue and provide a workaround for it instead of disallowing local workspace saving. This is like instead of fixing the hinge you are removing the entire door. pretty senseless imo.

@aeschli
Copy link
Contributor

aeschli commented Nov 11, 2020

I added it back.

@buzhangjiuzhou
Copy link

I added it back.

Thanks so much!

@paulguise
Copy link

I am using v 1.51.1 and the Show Local option is not available for saving workspaces. Was this disabled again?

@aeschli aeschli added the verification-needed Verification of issue is requested label Dec 1, 2020
@bpasero bpasero added the verified Verification succeeded label Dec 1, 2020
@rlegrand
Copy link

rlegrand commented Dec 3, 2020

It looks like "show local" is available when adding a folder, but not when saving the workspace.

@timaelliott
Copy link

Please add "show local" back this was an absolutely idiotic change to remove it.

@scubanarc
Copy link

Please add "show local" back this was an absolutely idiotic change to remove it.

+1

Saving a workspace locally is a critical feature to making it work. I've been editing my workspace files by hand since this feature was removed.

VSCode 1.51.1 with Remote - SSH v0.61.0 does not appear to have the option to me.

@paulguise
Copy link

I've been editing manually as well. Some workspaces have local and remote files but most have only remote files, so saving those to the server (where it defaults to saving) isn't doable.

@jonnyijapan
Copy link
Author

I assume this has already been fixed but is somehow waiting for a release. Does anyone know when that could be?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders remote Remote system operations issues verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

11 participants