Can I exclude certain settings with VS Code built-in settings sync feature?

Viewed 1025

I'm using the built-in Settings Sync feature (comes with VS Code 1.46 or somewhere later), logged in with my GitHub account. I would like to exclude some settings from syncing, keeping them separate per installation. For example, "font size" is among those that I don't want to sync.

I'm currently running Code 1.50.1. Is it possible to keep a selected set of settings from syncing?

1 Answers

Go to the settings file. This should work:

{
    "settingsSync.ignoredSettings": [
    "editor.fontSize"
    ]
}

For keyboard shortcuts:

{
   "settingsSync.keybindingsPerPlatform": True
}
Related