{"action":"created","issue":{"url":"https://api.github.com/repos/sourcegraph/go-langserver/issues/281","repository_url":"https://api.github.com/repos/sourcegraph/go-langserver","labels_url":"https://api.github.com/repos/sourcegraph/go-langserver/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/sourcegraph/go-langserver/issues/281/comments","events_url":"https://api.github.com/repos/sourcegraph/go-langserver/issues/281/events","html_url":"https://github.com/sourcegraph/go-langserver/issues/281","id":323474765,"number":281,"title":"Formatter should return a single edit","user":{"login":"ramya-rao-a","id":16890566,"avatar_url":"https://avatars1.githubusercontent.com/u/16890566?v=4","gravatar_id":"","url":"https://api.github.com/users/ramya-rao-a","html_url":"https://github.com/ramya-rao-a","followers_url":"https://api.github.com/users/ramya-rao-a/followers","following_url":"https://api.github.com/users/ramya-rao-a/following{/other_user}","gists_url":"https://api.github.com/users/ramya-rao-a/gists{/gist_id}","starred_url":"https://api.github.com/users/ramya-rao-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramya-rao-a/subscriptions","organizations_url":"https://api.github.com/users/ramya-rao-a/orgs","repos_url":"https://api.github.com/users/ramya-rao-a/repos","events_url":"https://api.github.com/users/ramya-rao-a/events{/privacy}","received_events_url":"https://api.github.com/users/ramya-rao-a/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-16T05:35:21Z","updated_at":"2018-05-17T16:43:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"At present, when there is a formatting request 2 edits are returned. 1 to clear all text in the file, another to add back the formatted content. These can be merged into a single edit. This will fix the issue of the cursor moving to the end of the file/range in VS Code\r\n\r\ncc @keegancsmith @slimsag \r\n"},"comment":{"url":"https://api.github.com/repos/sourcegraph/go-langserver/issues/comments/389932459","html_url":"https://github.com/sourcegraph/go-langserver/issues/281#issuecomment-389932459","issue_url":"https://api.github.com/repos/sourcegraph/go-langserver/issues/281","id":389932459,"user":{"login":"ramya-rao-a","id":16890566,"avatar_url":"https://avatars1.githubusercontent.com/u/16890566?v=4","gravatar_id":"","url":"https://api.github.com/users/ramya-rao-a","html_url":"https://github.com/ramya-rao-a","followers_url":"https://api.github.com/users/ramya-rao-a/followers","following_url":"https://api.github.com/users/ramya-rao-a/following{/other_user}","gists_url":"https://api.github.com/users/ramya-rao-a/gists{/gist_id}","starred_url":"https://api.github.com/users/ramya-rao-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramya-rao-a/subscriptions","organizations_url":"https://api.github.com/users/ramya-rao-a/orgs","repos_url":"https://api.github.com/users/ramya-rao-a/repos","events_url":"https://api.github.com/users/ramya-rao-a/events{/privacy}","received_events_url":"https://api.github.com/users/ramya-rao-a/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T16:43:33Z","updated_at":"2018-05-17T16:43:33Z","author_association":"CONTRIBUTOR","body":"@dbaeumer should be able to confirm that"}}
{"actor":{"display_login":"ramya-rao-a"}}