Skip to content

Unable to write to settings should offer an action to open settings #16580

Closed

Description

  1. Have an error in your user settings
  2. View > hide activity bar
  3. Notice an error that we are unable to write to settings and that the user should fix them

This error should have an action to open settings as most users have a hard time finding settings.

screen shot 2016-12-06 at 10 31 13

Activity

  1. added
    feature-request
    on Dec 6, 2016
  2. added
    config
    on Dec 6, 2016
  3. bpasero commented on Dec 8, 2016

    @bpasero
    Contributor

    Also: we should try to be more aggressive in writing to the settings file if this happens from the default settings editor. A trailing comma for example should not block us from doing the write. Since you see the result of the operation and you can undo, we can be more relaxed and validate less imho.

  4. BobbyBabes commented on Dec 18, 2016

    @BobbyBabes

    Benjamin Pasero (@bpasero) Thanks for the hint to the trailing comma.
    Just upgraded to 1.8.0. It was a bit confusing why I couldn't change settings through the pencil icon, but could with a manual change followed by Ctrl+S.
    Now the "... correct errors/warnings in the file ..." part of the error message makes more sense.

  5. sandy081 commented on Dec 20, 2016

    @sandy081
    Member

    Enhanced config editing service to be aggressive when writing to buffer.

    • If writing directly to disk, it looks for all validations
    • If writing to buffer, all errors are ignored while updating and saved if not dirty.

    So when using actions inside Settings editor, its writes the configuration always. Since user see the editor this makes sense

  6. 14 remaining items

  7. gregvanl commented on May 2, 2017

    @gregvanl

    I think we need to add a button to open settings when this error occurs as mentioned in the initial comment. It comes up often in doc feedback verbatim where users don't know where to go when a settings.json error occurs. Adding a button seems a good first step.

  8. gregvanl commented on May 2, 2017

    @gregvanl

    Adding Sandeep Somavarapu (@sandy081) to hopefully get this into the May milestone.

  9. added 2 commits that reference this issue on May 12, 2017
  10. added 3 commits that reference this issue on May 12, 2017
    0852cc4
    cc298e6
    27b4fa5
  11. added a commit that references this issue on May 14, 2017
  12. added a commit that references this issue on May 15, 2017
  13. locked and limited conversation to collaborators on Nov 18, 2017
  14. added a commit that references this issue on Sep 6, 2026
    a1154f7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

configfeature-requestverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions