{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/40757","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/40757/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/40757/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/40757/events","html_url":"https://github.com/Microsoft/vscode/pull/40757","id":284312453,"number":40757,"title":"added Center Mode (#15684)","user":{"login":"SrTobi","id":4148534,"avatar_url":"https://avatars3.githubusercontent.com/u/4148534?v=4","gravatar_id":"","url":"https://api.github.com/users/SrTobi","html_url":"https://github.com/SrTobi","followers_url":"https://api.github.com/users/SrTobi/followers","following_url":"https://api.github.com/users/SrTobi/following{/other_user}","gists_url":"https://api.github.com/users/SrTobi/gists{/gist_id}","starred_url":"https://api.github.com/users/SrTobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SrTobi/subscriptions","organizations_url":"https://api.github.com/users/SrTobi/orgs","repos_url":"https://api.github.com/users/SrTobi/repos","events_url":"https://api.github.com/users/SrTobi/events{/privacy}","received_events_url":"https://api.github.com/users/SrTobi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"bpasero","id":900690,"avatar_url":"https://avatars3.githubusercontent.com/u/900690?v=4","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://avatars3.githubusercontent.com/u/900690?v=4","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}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/59","html_url":"https://github.com/Microsoft/vscode/milestone/59","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/59/labels","id":2932944,"number":59,"title":"February 2018","description":"","creator":{"login":"egamma","id":172399,"avatar_url":"https://avatars1.githubusercontent.com/u/172399?v=4","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":492,"state":"open","created_at":"2017-11-23T09:16:58Z","updated_at":"2018-03-07T15:52:38Z","due_on":"2018-02-28T08:00:00Z","closed_at":null},"comments":35,"created_at":"2017-12-23T15:45:35Z","updated_at":"2018-03-08T07:28:49Z","closed_at":"2018-02-21T06:36:44Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Microsoft/vscode/pulls/40757","html_url":"https://github.com/Microsoft/vscode/pull/40757","diff_url":"https://github.com/Microsoft/vscode/pull/40757.diff","patch_url":"https://github.com/Microsoft/vscode/pull/40757.patch"},"body":"As described in #15684 this adds editor centering for the zen mode. I added two options:\r\n- `zenMode.centerEditor` controls if the centering should be used\r\n- `zenMode.centerEditorSize` controls the size of the centered editor. you can either specify the size using a size string (e.g. `\"60%\"` or `\"600px\"`) or you can specify the size of the two halfs of the editor (seen from the center)\r\n\r\n```\r\n\"zenMode.centerEditorSize\": {\r\n  \"left\": \"30%\",\r\n  \"right\": \"100%\"\r\n}\r\n```\r\nWith this the editor would occupy 30% of the left side of the window and 100% of the right side.\r\n\r\n![preview](https://github.com/SrTobi-Forks/vscode/blob/SrTobi/center-zen-preview/resources/center-zen-preview.gif?raw=true)"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/371403625","html_url":"https://github.com/Microsoft/vscode/pull/40757#issuecomment-371403625","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/40757","id":371403625,"user":{"login":"dodheim","id":13928508,"avatar_url":"https://avatars1.githubusercontent.com/u/13928508?v=4","gravatar_id":"","url":"https://api.github.com/users/dodheim","html_url":"https://github.com/dodheim","followers_url":"https://api.github.com/users/dodheim/followers","following_url":"https://api.github.com/users/dodheim/following{/other_user}","gists_url":"https://api.github.com/users/dodheim/gists{/gist_id}","starred_url":"https://api.github.com/users/dodheim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodheim/subscriptions","organizations_url":"https://api.github.com/users/dodheim/orgs","repos_url":"https://api.github.com/users/dodheim/repos","events_url":"https://api.github.com/users/dodheim/events{/privacy}","received_events_url":"https://api.github.com/users/dodheim/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T07:28:49Z","updated_at":"2018-03-08T07:28:49Z","author_association":"NONE","body":"Of the three languages I use VSCode for, only one of them enters center mode properly. I want to open an issue, but I'm not sure where – is this a VSCode problem, or a problem with respective extensions the two languages that aren't working for me? (F# is working, C++ and Rust aren't.)\r\n\r\nI know this question is very light on details, but I'm not sure what information would be helpful, or whether I'm posting in the right place..."}}
{"actor":{"display_login":"dodheim"}}