{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/14","labels_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/14/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/14/events","html_url":"https://github.com/Microsoft/vscode-go/issues/14","id":117651152,"number":14,"title":"Add format-on-save support (instead of requiring use of explicit Format Document command)","user":{"login":"Gys","id":943251,"avatar_url":"https://avatars.githubusercontent.com/u/943251?v=3","gravatar_id":"","url":"https://api.github.com/users/Gys","html_url":"https://github.com/Gys","followers_url":"https://api.github.com/users/Gys/followers","following_url":"https://api.github.com/users/Gys/following{/other_user}","gists_url":"https://api.github.com/users/Gys/gists{/gist_id}","starred_url":"https://api.github.com/users/Gys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gys/subscriptions","organizations_url":"https://api.github.com/users/Gys/orgs","repos_url":"https://api.github.com/users/Gys/repos","events_url":"https://api.github.com/users/Gys/events{/privacy}","received_events_url":"https://api.github.com/users/Gys/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode-go/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-11-18T18:36:57Z","updated_at":"2015-11-28T04:15:02Z","closed_at":null,"body":"The gopath seems to be correctly set because typing errors ('Undefined: ...') en vet messages ('exported function should have comment') are reported correctly.\r\nHowever, the formatting is not corrected ? Not on disk and not in the editor. I tried to override the default goreturns with goimports and then with gofmt, but that does not seems to matter.\r\nAny ideas ?"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/comments/160245299","html_url":"https://github.com/Microsoft/vscode-go/issues/14#issuecomment-160245299","issue_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/14","id":160245299,"user":{"login":"lukehoban","id":223467,"avatar_url":"https://avatars.githubusercontent.com/u/223467?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehoban","html_url":"https://github.com/lukehoban","followers_url":"https://api.github.com/users/lukehoban/followers","following_url":"https://api.github.com/users/lukehoban/following{/other_user}","gists_url":"https://api.github.com/users/lukehoban/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehoban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehoban/subscriptions","organizations_url":"https://api.github.com/users/lukehoban/orgs","repos_url":"https://api.github.com/users/lukehoban/repos","events_url":"https://api.github.com/users/lukehoban/events{/privacy}","received_events_url":"https://api.github.com/users/lukehoban/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T04:15:02Z","updated_at":"2015-11-28T04:15:02Z","body":"For folks interested in this, I've added a new PR with a more-or-less complete implementation of this in #115.  Along with some other formatting fixes from @newhook, I believe this is now working reasonably well.\r\n\r\nIf anyone has a chance to pick up and test it out (git cloning per the instructions in the README and checking out the PR branch), that would be great.  The feature is behind a flag so I'll likely check this into master and push an update for broader testing in the next day or so."}}