{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/11158","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/11158/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/11158/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/11158/events","html_url":"https://github.com/Microsoft/vscode/issues/11158","id":173939406,"number":11158,"title":"Unsupported format for ecmascript-rest-spread","user":{"login":"simonguo","id":1203827,"avatar_url":"https://avatars.githubusercontent.com/u/1203827?v=3","gravatar_id":"","url":"https://api.github.com/users/simonguo","html_url":"https://github.com/simonguo","followers_url":"https://api.github.com/users/simonguo/followers","following_url":"https://api.github.com/users/simonguo/following{/other_user}","gists_url":"https://api.github.com/users/simonguo/gists{/gist_id}","starred_url":"https://api.github.com/users/simonguo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonguo/subscriptions","organizations_url":"https://api.github.com/users/simonguo/orgs","repos_url":"https://api.github.com/users/simonguo/repos","events_url":"https://api.github.com/users/simonguo/events{/privacy}","received_events_url":"https://api.github.com/users/simonguo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/js","name":"js","color":"1d76db"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/needs%20more%20info","name":"needs more info","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"waderyan","id":2449568,"avatar_url":"https://avatars.githubusercontent.com/u/2449568?v=3","gravatar_id":"","url":"https://api.github.com/users/waderyan","html_url":"https://github.com/waderyan","followers_url":"https://api.github.com/users/waderyan/followers","following_url":"https://api.github.com/users/waderyan/following{/other_user}","gists_url":"https://api.github.com/users/waderyan/gists{/gist_id}","starred_url":"https://api.github.com/users/waderyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waderyan/subscriptions","organizations_url":"https://api.github.com/users/waderyan/orgs","repos_url":"https://api.github.com/users/waderyan/repos","events_url":"https://api.github.com/users/waderyan/events{/privacy}","received_events_url":"https://api.github.com/users/waderyan/received_events","type":"User","site_admin":false},"assignees":[{"login":"waderyan","id":2449568,"avatar_url":"https://avatars.githubusercontent.com/u/2449568?v=3","gravatar_id":"","url":"https://api.github.com/users/waderyan","html_url":"https://github.com/waderyan","followers_url":"https://api.github.com/users/waderyan/followers","following_url":"https://api.github.com/users/waderyan/following{/other_user}","gists_url":"https://api.github.com/users/waderyan/gists{/gist_id}","starred_url":"https://api.github.com/users/waderyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waderyan/subscriptions","organizations_url":"https://api.github.com/users/waderyan/orgs","repos_url":"https://api.github.com/users/waderyan/repos","events_url":"https://api.github.com/users/waderyan/events{/privacy}","received_events_url":"https://api.github.com/users/waderyan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-30T06:26:25Z","updated_at":"2016-08-31T02:04:08Z","closed_at":null,"body":"![0d17f687-2426-4fe4-958c-12b537d7ac77](https://cloud.githubusercontent.com/assets/1203827/18078403/ea9a15f6-6ebd-11e6-8338-b7df390936ac.png)\r\n\r\n.editorconfig\r\n\r\n```\r\nroot = true\r\n\r\n[*]\r\ncharset = utf-8\r\nend_of_line = lf\r\nindent_style = space\r\nindent_size = 4\r\ntrim_trailing_whitespace = true\r\ninsert_final_newline = false\r\n\r\n[package.json]\r\nindent_style = space\r\nindent_size = 2\r\n```\r\n\r\nI can't bear it\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/243637435","html_url":"https://github.com/Microsoft/vscode/issues/11158#issuecomment-243637435","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/11158","id":243637435,"user":{"login":"simonguo","id":1203827,"avatar_url":"https://avatars.githubusercontent.com/u/1203827?v=3","gravatar_id":"","url":"https://api.github.com/users/simonguo","html_url":"https://github.com/simonguo","followers_url":"https://api.github.com/users/simonguo/followers","following_url":"https://api.github.com/users/simonguo/following{/other_user}","gists_url":"https://api.github.com/users/simonguo/gists{/gist_id}","starred_url":"https://api.github.com/users/simonguo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonguo/subscriptions","organizations_url":"https://api.github.com/users/simonguo/orgs","repos_url":"https://api.github.com/users/simonguo/repos","events_url":"https://api.github.com/users/simonguo/events{/privacy}","received_events_url":"https://api.github.com/users/simonguo/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T02:04:08Z","updated_at":"2016-08-31T02:04:08Z","body":"\r\n- VSCode Version: 1.4.0\r\n- OS Version: OS X EI Capitan  10.11.5\r\n\r\n\r\nI expect:\r\n\r\n```js\r\nswitch (type) {\r\n    case ADD_NODE:\r\n        return Object.assign({}, state, {\r\n            ...state,\r\n            propA,\r\n            propB\r\n        });\r\n    default:\r\n        return {\r\n            propC,\r\n            propD\r\n        };\r\n}\r\n```\r\n\r\n\r\nExecuting shift+cmd+f, Formatted:\r\n\r\n```js\r\nswitch (type) {\r\n    case ADD_NODE:\r\n        return Object.assign({}, state, {\r\n            ...state,\r\n            propA,\r\n            propB\r\n        });\r\n    default:\r\nreturn {\r\n    propC,\r\n    propD\r\n};\r\n}\r\n```"}}
{"actor":{"display_login":"simonguo"}}