Skip to content

Settings Sync: Ignore a setting locally #89627

Closed

Description

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).

Sandeep Somavarapu (@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.

Activity

  1. added
    feature-request
    on Jan 29, 2020
  2. added
    under-discussion
    and removed
    feature-request
    on Feb 6, 2020
  3. sandy081 commented on Feb 12, 2020

    @sandy081
    Member

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

    Is it that you want to ignore this setting on this machine or you want this to be synced only in linux platforms. This looks to me a scenario for platform specific settings.

  4. weinand commented on Feb 12, 2020

    @weinand
    ContributorAuthor

    Yes, in this specific case I could have used a linux specific setting.
    But in general excluding settings from sync by using another setting that needs to be excluded from sync remains tricky...

  5. sandy081 commented on Feb 13, 2020

    @sandy081
    Member

    But in general excluding settings from sync by using another setting that needs to be excluded from sync remains tricky...

    Agreed. But this setting is synced by default because If a user ignore a setting then it is expected to be ignored everywhere.

    I do not see a use case of ignoring a setting only on local machine.

  6. weinand commented on Feb 14, 2020

    @weinand
    ContributorAuthor

    use case: for security reasons I do not want to leak a single setting to anywhere.

  7. sandy081 commented on Feb 18, 2020

    @sandy081
    Member

    Do you mean value of the setting or the setting id?

  8. sandy081 commented on Feb 25, 2020

    @sandy081
    Member

    Made current ignored setting to be always synced and cannot be ignored.

    Moving this to backlog and will get back to this if we get a use case to have ignored setting which should not be synced.

  9. changed the title [-]"sync.ignoredSettings" trickery...[/-] [+]Settings Sync: Ignore a setting locally[/+] on Feb 25, 2020
  10. jsejcksn commented on Aug 22, 2020

    @jsejcksn

    I have the same issue: I use the Fira Code typeface, specifically the Retina weight variation. It uses a different name for macOS vs Linux/Windows, so without having platform-specific setting support, this breaks for me either on the other platforms.

    I think my issue is related, but not the same as the author's. I searched the open issues and this one was the closest, especially after reading this comment, but if you think I should post to a different issue, please advise.

  11. sandy081 commented on Aug 25, 2020

    @sandy081
    Member

    Jesse Jackson (@jsejcksn) your request is related to #5595

  12. jsejcksn commented on Aug 25, 2020

    @jsejcksn

    your request is related to #5595

    Thanks, yes a duplicate of this comment

  13. added
    *out-of-scope
    on Nov 16, 2020
  14. vscode-triage-bot commented on Nov 16, 2020

    @vscode-triage-bot

    We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

    If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

    Thanks for your understanding and happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*out-of-scopesettings-syncunder-discussion

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions