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

Restore preferences from remote backups #97443

Closed
texastoland opened this issue May 11, 2020 · 8 comments
Closed

Restore preferences from remote backups #97443

texastoland opened this issue May 11, 2020 · 8 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) settings-sync

Comments

@texastoland
Copy link

texastoland commented May 11, 2020

I accidentally rimrafed my .vscode-insiders directory with all my extensions. I found the backup but I can't do anything with it. There's no restore button, context menu item, action in the command palette, mention in the official doc, or previous issues here. The CLI can't even consume the JSON file. I'm going to write something with grep but I'm confused how the backups are intended to be used.

@sandy081 sandy081 self-assigned this May 11, 2020
@sandy081
Copy link
Member

/duplicate

@sandy081
Copy link
Member

#93960

@texastoland
Copy link
Author

My workaround was:

cat extensions.json |
  jq '.[]
      .identifier|select(.uuid)
      .id        |select(test("^ms-vscode.")|not)' |
  xargs -n1 code-insiders --install-extension

@texastoland
Copy link
Author

@sandy081 Can you please reopen this since none of it was implemented in #93960 🙏🏽

@sandy081
Copy link
Member

@texastoland This is in fact implemented in #93960, there is a download action in synced data view to restore - check this here - #93960 (comment)

@texastoland
Copy link
Author

texastoland commented May 29, 2020

I previously saw the screenshot but don't understand how to sync. I tried it work on Insiders too. I can't find it even as a user who's already familiar with the particular feature.

@texastoland
Copy link
Author

texastoland commented May 29, 2020

@sandy081 I finally clicked the cloud icon. It's a little unintuitive. I moved my UX request to #98820.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) settings-sync
Projects
None yet
Development

No branches or pull requests

3 participants
@texastoland @sandy081 and others