{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/30674","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/30674/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/30674/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/30674/events","html_url":"https://github.com/Microsoft/vscode/issues/30674","id":242914450,"number":30674,"title":"SCM: editor selection not applied when jumping from diff back to editor","user":{"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},"labels":[{"id":256129993,"url":"https://api.github.com/repos/Microsoft/vscode/labels/bug","name":"bug","color":"8D6673","default":true},{"id":296835379,"url":"https://api.github.com/repos/Microsoft/vscode/labels/git","name":"git","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"joaomoreno","id":22350,"avatar_url":"https://avatars3.githubusercontent.com/u/22350?v=4","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},"assignees":[{"login":"joaomoreno","id":22350,"avatar_url":"https://avatars3.githubusercontent.com/u/22350?v=4","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}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/48","html_url":"https://github.com/Microsoft/vscode/milestone/48","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/48/labels","id":2627693,"number":48,"title":"August 2017","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":221,"closed_issues":187,"state":"open","created_at":"2017-07-07T14:09:46Z","updated_at":"2017-08-22T08:14:57Z","due_on":"2017-08-31T07:00:00Z","closed_at":null},"comments":3,"created_at":"2017-07-14T07:02:09Z","updated_at":"2017-08-22T08:14:57Z","closed_at":"2017-08-22T08:14:57Z","body":"We now nicely restore the selection when jumping from editor to the diff editor but we do not seem to do the same thing when going from diff editor to normal editor (which is actually my main use case).\r\n\r\nI think the missing piece is that `vscode.open` allows to provide the same editor options and git extension to adopt that. Created PR https://github.com/Microsoft/vscode/pull/30675 for the missing API in the command."}}
{"actor":{"display_login":"joaomoreno"}}