{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/9731","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/9731/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/9731/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/9731/events","html_url":"https://github.com/Microsoft/vscode/issues/9731","id":167530261,"number":9731,"title":"[Configuration] Get configuration doesn't return default value if not found.","user":{"login":"rebornix","id":876920,"avatar_url":"https://avatars.githubusercontent.com/u/876920?v=3","gravatar_id":"","url":"https://api.github.com/users/rebornix","html_url":"https://github.com/rebornix","followers_url":"https://api.github.com/users/rebornix/followers","following_url":"https://api.github.com/users/rebornix/following{/other_user}","gists_url":"https://api.github.com/users/rebornix/gists{/gist_id}","starred_url":"https://api.github.com/users/rebornix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebornix/subscriptions","organizations_url":"https://api.github.com/users/rebornix/orgs","repos_url":"https://api.github.com/users/rebornix/repos","events_url":"https://api.github.com/users/rebornix/events{/privacy}","received_events_url":"https://api.github.com/users/rebornix/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/api","name":"api","color":"c7def8"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/bug","name":"bug","color":"E57E7E"}],"state":"closed","locked":false,"assignee":{"login":"aeschli","id":6461412,"avatar_url":"https://avatars.githubusercontent.com/u/6461412?v=3","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false},"assignees":[{"login":"aeschli","id":6461412,"avatar_url":"https://avatars.githubusercontent.com/u/6461412?v=3","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/22","html_url":"https://github.com/Microsoft/vscode/milestones/July%202016","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/22/labels","id":1837472,"number":22,"title":"July 2016","description":"","creator":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":369,"state":"open","created_at":"2016-06-20T07:57:10Z","updated_at":"2016-07-27T14:29:41Z","due_on":"2016-07-27T07:00:00Z","closed_at":null},"comments":8,"created_at":"2016-07-26T06:26:18Z","updated_at":"2016-07-27T14:29:41Z","closed_at":"2016-07-27T14:29:41Z","body":"- VSCode Version: 1.4.0-Insider\r\n- OS Version: Windows 10 x64\r\n\r\nSteps to Reproduce:\r\n\r\n1. Add a new boolean option to contribution list of an extension\r\n2. Run/debug the extension, try fetch the configure by `vscode.workspace.getConfiguration(\"section\").get(\"optionName\",  undefined)`\r\n\r\nIf user doesn't  set a value for this config in his/her settings.json, the return result of this expression should be `undefined`. While what we get is `false`.\r\n\r\nIf the config is defined as `number`, this expression will return `null`. If user sets this config explicitly, we can get the correct value.\r\n\r\nBTW, it seems we don't have a chance to know whether a Code config, for example `editor.tabSize`, is set by User or Workspace or just default value. It's a potential feature request."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/235602857","html_url":"https://github.com/Microsoft/vscode/issues/9731#issuecomment-235602857","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/9731","id":235602857,"user":{"login":"aeschli","id":6461412,"avatar_url":"https://avatars.githubusercontent.com/u/6461412?v=3","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T14:29:41Z","updated_at":"2016-07-27T14:29:41Z","body":"Looked at it with Joh, he ran again in the number case. Tried again, an all seems fine now."}}
{"actor":{"display_login":"aeschli"}}