{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/16","labels_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/16/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/16/events","html_url":"https://github.com/Microsoft/vscode-go/issues/16","id":117658555,"number":16,"title":"\"Format Code\" did the import wrong","user":{"login":"mholt","id":1128849,"avatar_url":"https://avatars.githubusercontent.com/u/1128849?v=3","gravatar_id":"","url":"https://api.github.com/users/mholt","html_url":"https://github.com/mholt","followers_url":"https://api.github.com/users/mholt/followers","following_url":"https://api.github.com/users/mholt/following{/other_user}","gists_url":"https://api.github.com/users/mholt/gists{/gist_id}","starred_url":"https://api.github.com/users/mholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholt/subscriptions","organizations_url":"https://api.github.com/users/mholt/orgs","repos_url":"https://api.github.com/users/mholt/repos","events_url":"https://api.github.com/users/mholt/events{/privacy}","received_events_url":"https://api.github.com/users/mholt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-11-18T19:13:03Z","updated_at":"2015-11-28T01:37:03Z","closed_at":"2015-11-28T01:37:03Z","body":"I added a `fmt.Println()` to a file, which should have added \"fmt\" to the imports. When I right-clicked \"Format Code\" it did this instead:\r\n\r\n```\r\nimport (fmt\"io/ioutil\"\r\n    \"log\"\r\n    \"os\"\r\n    \"os/signal\"\r\n    \"syscall\"\r\n)\r\n```\r\n\r\nand kind of mashed the \"fmt\" improperly into the beginning of the list.\r\n\r\nDid I do it wrong? :smile: Also, can it run gofmt on save?"}}