{"action":"created","issue":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/810","repository_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode","labels_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/810/labels{/name}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/810/comments","events_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/810/events","html_url":"https://github.com/OmniSharp/omnisharp-vscode/issues/810","id":182311669,"number":810,"title":"onWillSaveTextDocument implementation for VSCode","user":{"login":"jchannon","id":105126,"avatar_url":"https://avatars.githubusercontent.com/u/105126?v=3","gravatar_id":"","url":"https://api.github.com/users/jchannon","html_url":"https://github.com/jchannon","followers_url":"https://api.github.com/users/jchannon/followers","following_url":"https://api.github.com/users/jchannon/following{/other_user}","gists_url":"https://api.github.com/users/jchannon/gists{/gist_id}","starred_url":"https://api.github.com/users/jchannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchannon/subscriptions","organizations_url":"https://api.github.com/users/jchannon/orgs","repos_url":"https://api.github.com/users/jchannon/repos","events_url":"https://api.github.com/users/jchannon/events{/privacy}","received_events_url":"https://api.github.com/users/jchannon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/labels/Feature%20Request","name":"Feature Request","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-11T16:28:41Z","updated_at":"2016-10-11T20:35:42Z","closed_at":null,"body":"As of VSCode 1.6, there is an API for `onWillSaveTextDocument` that allows formatting of documents when the save is triggered. See here https://twitter.com/ErichGamma/status/785592894468001792 via @egamma .\r\n\r\nAre there plans for Omnisharp to support this?"},"comment":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/comments/253037611","html_url":"https://github.com/OmniSharp/omnisharp-vscode/issues/810#issuecomment-253037611","issue_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/810","id":253037611,"user":{"login":"egamma","id":172399,"avatar_url":"https://avatars.githubusercontent.com/u/172399?v=3","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},"created_at":"2016-10-11T20:35:42Z","updated_at":"2016-10-11T20:35:42Z","body":"(I wasn't fully accurate on Twitter)\r\nAn extension that has a formatter (which is true for OmniSharp) should get this feature for free. All you need to do is to set `\"editor.formatOnSave\": true`. \r\n\r\n@jchannon did you try this and it didn't work? "}}
{"actor":{"display_login":"egamma"}}