Skip to content

Settings Sync: Ignore a setting locally #89627

@weinand

Description

@weinand

Refs: #89358

I tried to ignore the setting "editor.fontFamily" from being synced on linux (because I had issues with installing the nice coding fonts there).

So I added "editor.fontFamily" to the "sync.ignoredSettings" setting on linux.

But because "sync.ignoredSettings" is synced too, the setting now is ignored everywhere (which I didn't intend).

@sandy081 suggested to add "sync.ignoredSettings" to itself which seems to work..

But this approach appeared to be a kludge and it is very difficult to understand what is going on now. In order to understand whether a specific setting is synced, you have to check whether it is mentioned in the "sync.ignoredSettings" setting and then you have to check whether "sync.ignoredSettings" refers to itself...

What I would really like to have is a simple and direct way to exclude settings from syncing. E.g. adding a '!' as the first character of a settings name excludes it from syncing. Or nesting settings within a section named "!" or "nosync" excludes them all from syncing.

The "sync.ignoredSettings" approach is a bit ugly because it relies on another setting, which is again prone to another level of syncing complexity.

Metadata

Metadata

Assignees

Labels

*out-of-scopePosted issue is not in scope of VS Codesettings-syncunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions