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 remove synced extensions from settings sync #13091

Closed
axonasif opened this issue Sep 19, 2022 · 9 comments
Closed

Can't remove synced extensions from settings sync #13091

axonasif opened this issue Sep 19, 2022 · 9 comments
Labels
editor: code (desktop) feature: settings sync feature: settings sync meta: stale This issue/PR is stale and will be closed soon team: IDE type: bug Something isn't working

Comments

@axonasif
Copy link
Member

axonasif commented Sep 19, 2022

Bug description

I have settings sync and gitpod.remote.syncExtensions enabled but there is an odd issue. A bunch of unknown extensions (to me) are automatically installed, even if I manually mark Do not sync extension and uninstall, they appear back on my next workspace. These un-synced extensions are also added on settingsSync.ignoredExtensions[] (as you can see on the screenshot) but that doesn't help. This is not an issue on VSCode Web.
Screenshot 2022-09-19 at 7 11 27 PM

Steps to reproduce

  • Enable Setting sync
  • Enable gitpod.remote.syncExtensions
  • Mark Do not sync extension and uninstall a bunch of extensions
  • Create a new workspace
  • Notice that those extensions are still maked Do not sync but somehow they got installed

Workspace affected

No response

Expected behavior

Uninstalled extensions should get removed from settings sync.

Example repository

No response

Anything else?

No response

@loujaybee
Copy link
Member

Related to:

@jeanp413
Copy link
Member

jeanp413 commented Sep 20, 2022

@axonasif you need to sync the uninstallation first i.e. remove them from settingsSync.ignoredExtensions and then uninstall so they are removed from the sync server, then if you want to only install an extension locally add it to settingsSync.ignoredExtensions first or use the Install (do not sync) action

@akosyakov
Copy link
Member

@jeanp413 is there something to document? cc @loujaybee

@jeanp413
Copy link
Member

Don't think so as that's normal behavior, but we can mention vscode docs if needed

@axonasif
Copy link
Member Author

@axonasif you need to sync the uninstallation first i.e. remove them from gitpod.remote.syncExtensions and then uninstall so they are removed from the sync server, then if you want to only install an extension locally add it to gitpod.remote.syncExtensions first or use the Install (do not sync) action

Hey @jeanp413, where can I find gitpod.remote.syncExtensions? Not available on my settings.json.

@jeanp413
Copy link
Member

@axonasif sorry I meant settingsSync.ignoredExtensions

@axonasif
Copy link
Member Author

@jeanp413 I tried this r8n but it didn't help, maybe I'm doing something wrong 😅 ?

@jeanp413
Copy link
Member

Check the extension.json in the synced data https://code.visualstudio.com/docs/editor/settings-sync#_restoring-data, after deleting settingsSync.ignoredExtensions and then uninstalling the extensions you don't want to sync, they shouldn't be listed in the json file

@stale
Copy link

stale bot commented Dec 23, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Dec 23, 2022
@stale stale bot closed this as completed Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor: code (desktop) feature: settings sync feature: settings sync meta: stale This issue/PR is stale and will be closed soon team: IDE type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants