{"action":"created","issue":{"url":"https://api.github.com/repos/atom/settings-view/issues/386","labels_url":"https://api.github.com/repos/atom/settings-view/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/atom/settings-view/issues/386/comments","events_url":"https://api.github.com/repos/atom/settings-view/issues/386/events","html_url":"https://github.com/atom/settings-view/issues/386","id":58060287,"number":386,"title":"Config settings not working.","user":{"login":"izuzak","id":38924,"avatar_url":"https://avatars.githubusercontent.com/u/38924?v=3","gravatar_id":"","url":"https://api.github.com/users/izuzak","html_url":"https://github.com/izuzak","followers_url":"https://api.github.com/users/izuzak/followers","following_url":"https://api.github.com/users/izuzak/following{/other_user}","gists_url":"https://api.github.com/users/izuzak/gists{/gist_id}","starred_url":"https://api.github.com/users/izuzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izuzak/subscriptions","organizations_url":"https://api.github.com/users/izuzak/orgs","repos_url":"https://api.github.com/users/izuzak/repos","events_url":"https://api.github.com/users/izuzak/events{/privacy}","received_events_url":"https://api.github.com/users/izuzak/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/atom/settings-view/labels/documentation","name":"documentation","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-18T12:12:58Z","updated_at":"2015-02-18T12:12:59Z","closed_at":null,"body":"_From @JamesGould123 on February 18, 2015 4:13_\n\n[In the docs](https://atom.io/docs/api/v0.179.0/Config), various examples of settings you can set for packages are documented. Unfortunately, several of the examples do not work.\r\n\r\nThe given array and object examples do not work. The array example simply does not show up under the settings under packages > package-name > settings, and the object example throws the error:\r\n\r\n<code>package-name.someSetting.myChildIntOption' could not set the default. Attempted default: undefined; Schema: {\"type\":\"integer\",\"minimum\":1.5,\"maximum\":11.5}</code>\r\n\r\nI'm using version 0.177.0 of atom on Windows 7.\n\n_Copied from original issue: atom/atom#5604_"},"comment":{"url":"https://api.github.com/repos/atom/settings-view/issues/comments/74854603","html_url":"https://github.com/atom/settings-view/issues/386#issuecomment-74854603","issue_url":"https://api.github.com/repos/atom/settings-view/issues/386","id":74854603,"user":{"login":"izuzak","id":38924,"avatar_url":"https://avatars.githubusercontent.com/u/38924?v=3","gravatar_id":"","url":"https://api.github.com/users/izuzak","html_url":"https://github.com/izuzak","followers_url":"https://api.github.com/users/izuzak/followers","following_url":"https://api.github.com/users/izuzak/following{/other_user}","gists_url":"https://api.github.com/users/izuzak/gists{/gist_id}","starred_url":"https://api.github.com/users/izuzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izuzak/subscriptions","organizations_url":"https://api.github.com/users/izuzak/orgs","repos_url":"https://api.github.com/users/izuzak/repos","events_url":"https://api.github.com/users/izuzak/events{/privacy}","received_events_url":"https://api.github.com/users/izuzak/received_events","type":"User","site_admin":true},"created_at":"2015-02-18T12:12:59Z","updated_at":"2015-02-18T12:12:59Z","body":"@JamesGould123 I'm able to reproduce the problem with the array example -- I don't see anything in the settings when I use that either:\r\n\r\n![screen shot 2015-02-18 at 12 44 09](https://cloud.githubusercontent.com/assets/38924/6246820/3e1d99c8-b76d-11e4-8797-a3c71641e77f.png)\r\n\r\nHowever, if I use this, I see the expected result:\r\n\r\n```\r\nconfig:\r\n  someSetting:\r\n    type: 'array'\r\n    default: [\"1\", \"2\", \"3\"]\r\n```\r\n\r\nI'm unable to reproduce the problem with the object example though -- it doesn't throw an exception on Atom 0.180.0. Can you try reproducing on Atom 0.180.0 and let us know if it throws an exception? However, I don't see anything for that example in the settings view either.  I do see something if I use something like this:\r\n\r\n```\r\nconfig:\r\n  someSetting:\r\n    type: 'object'\r\n    properties:\r\n      myChildIntOption:\r\n        type: 'string'\r\n        default: 'foo'\r\n```\r\n\r\nMy guess is that this is a problem in the Settings View package, not in the examples. So I'm going to move this over to the Settings View package and cc @thedaniel and @benogle."}}