{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/1396","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/1396/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/1396/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/1396/events","html_url":"https://github.com/Microsoft/vscode/issues/1396","id":122610848,"number":1396,"title":"Allow extensions to set configuration options.","user":{"login":"mitchdenny","id":513398,"avatar_url":"https://avatars.githubusercontent.com/u/513398?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchdenny","html_url":"https://github.com/mitchdenny","followers_url":"https://api.github.com/users/mitchdenny/followers","following_url":"https://api.github.com/users/mitchdenny/following{/other_user}","gists_url":"https://api.github.com/users/mitchdenny/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchdenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchdenny/subscriptions","organizations_url":"https://api.github.com/users/mitchdenny/orgs","repos_url":"https://api.github.com/users/mitchdenny/repos","events_url":"https://api.github.com/users/mitchdenny/events{/privacy}","received_events_url":"https://api.github.com/users/mitchdenny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/api","name":"api","color":"1d76db"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"assignees":[{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/26","html_url":"https://github.com/Microsoft/vscode/milestones/September%202016","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/26/labels","id":1944122,"number":26,"title":"September 2016","description":"","creator":{"login":"joaomoreno","id":22350,"avatar_url":"https://avatars.githubusercontent.com/u/22350?v=3","gravatar_id":"","url":"https://api.github.com/users/joaomoreno","html_url":"https://github.com/joaomoreno","followers_url":"https://api.github.com/users/joaomoreno/followers","following_url":"https://api.github.com/users/joaomoreno/following{/other_user}","gists_url":"https://api.github.com/users/joaomoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomoreno/subscriptions","organizations_url":"https://api.github.com/users/joaomoreno/orgs","repos_url":"https://api.github.com/users/joaomoreno/repos","events_url":"https://api.github.com/users/joaomoreno/events{/privacy}","received_events_url":"https://api.github.com/users/joaomoreno/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":0,"state":"open","created_at":"2016-08-16T05:20:24Z","updated_at":"2016-08-29T07:25:56Z","due_on":"2016-09-30T00:00:00Z","closed_at":null},"comments":32,"created_at":"2015-12-16T21:50:51Z","updated_at":"2016-08-29T07:55:27Z","closed_at":null,"body":"I've got an extension that I'm currently adding telemetry too so that I can better understand how people are using it, however I want to give users an easy way to opt out of this telemetry collection. My initial thoughts were that I would display a quick pick with two options (agree or disagree) and that I would then store their choice for later executions.\r\n\r\nHowever, it looks like the configuration API for extensions doesn't support the option to set a configuration value. It would be great if I could do something like this:\r\n\r\n```typescript\r\nlet configuration = vscode.workspace.getConfiguration('ecdc');\r\nconfiguration.set('collectTelemetry', false);\r\n```\r\n\r\nI'm sure other extensions would find this useful as well to help guide users to setting up sensitive defaults."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/243056845","html_url":"https://github.com/Microsoft/vscode/issues/1396#issuecomment-243056845","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/1396","id":243056845,"user":{"login":"isidorn","id":1926584,"avatar_url":"https://avatars.githubusercontent.com/u/1926584?v=3","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T07:55:26Z","updated_at":"2016-08-29T07:55:26Z","body":"Keys in the `launch.json` are contributed by each extension, vscode is aware of them by reading the `package.json` of that extension. So it does not make a lot of sense that VSCode should verify them since the extension contributes those keys in the first place."}}
{"actor":{"display_login":"isidorn"}}