{"action":"opened","issue":{"url":"https://api.github.com/repos/chrmarti/testissues/issues/18082","repository_url":"https://api.github.com/repos/chrmarti/testissues","labels_url":"https://api.github.com/repos/chrmarti/testissues/issues/18082/labels{/name}","comments_url":"https://api.github.com/repos/chrmarti/testissues/issues/18082/comments","events_url":"https://api.github.com/repos/chrmarti/testissues/issues/18082/events","html_url":"https://github.com/chrmarti/testissues/issues/18082","id":315631708,"number":18082,"title":"Improve support for !region in javascript code","user":{"login":"vscodebot[bot]","id":28792856,"avatar_url":"https://avatars2.githubusercontent.com/in/2406?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-18T20:32:08Z","updated_at":"2018-04-18T20:32:08Z","closed_at":null,"author_association":"NONE","body":"<!-- Do you have a question? Please ask it on https://stackoverflow.com/questions/tagged/vscode. -->\r\nSupport for !region is buggy. It only works for the first region and not the following\r\n\r\n<!-- Use Help > Report Issue to prefill these. -->\r\n- VSCode Version: 1.23.0-insider\r\n- OS Version: Both Windows 10 and macOS High Sierra\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create a new javascript file\r\n2. Copy and paste the code below\r\n\r\n```js\r\nclass Testing {\r\n    // !region prop\r\n    get prop() {\r\n        return 0;\r\n    }\r\n    set prop(p) {}\r\n    // !endregion\r\n\r\n    // !region prop2\r\n    get prop2() {\r\n        return 0;\r\n    }\r\n    set prop2(p) {}\r\n    // !endregion\r\n}\r\n```\r\n\r\nResult:\r\n\r\n\r\n<!-- Launch with `code --disable-extensions` to check. -->\r\nDoes this issue occur when all extensions are disabled?: Yes\r\n"}}
{"actor":{"display_login":"vscodebot"}}