{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/16220","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/16220/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/16220/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/16220/events","html_url":"https://github.com/Microsoft/vscode/issues/16220","id":192302787,"number":16220,"title":"Code folding gets confused when code isn't properly indented","user":{"login":"warpdesign","id":199648,"avatar_url":"https://avatars.githubusercontent.com/u/199648?v=3","gravatar_id":"","url":"https://api.github.com/users/warpdesign","html_url":"https://github.com/warpdesign","followers_url":"https://api.github.com/users/warpdesign/followers","following_url":"https://api.github.com/users/warpdesign/following{/other_user}","gists_url":"https://api.github.com/users/warpdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/warpdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warpdesign/subscriptions","organizations_url":"https://api.github.com/users/warpdesign/orgs","repos_url":"https://api.github.com/users/warpdesign/repos","events_url":"https://api.github.com/users/warpdesign/events{/privacy}","received_events_url":"https://api.github.com/users/warpdesign/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-29T14:54:28Z","updated_at":"2016-11-29T14:54:28Z","closed_at":null,"body":"- VSCode Version: Code - Insiders 1.8.0-insider (4721762a2ac1e21f1e33094e810d4888052f3d8d, 2016-11-29T07:09:36.481Z)\r\n- OS Version: Windows_NT ia32 10.0.14971\r\n- Extensions:\r\n\r\n|Extension|Author|Version|\r\n|---|---|---|\r\n|vscode-eslint|dbaeumer|1.1.0|\r\n|theme-dracula|dracula-theme|1.2.5|\r\n|eval|Stormspirit|0.0.5|\r\n\r\n---\r\n\r\nSteps to Reproduce:\r\n\r\n1. Type a JavaScript function and put misaligned code in the middle of the function\r\n2. Click on the `+` to fold the function\r\n\r\nWhat happens ?\r\nCode only hides the code up to the mis-aligned comment: what's next isn't hidden although it's part of the function and should be hidden.\r\n\r\nSee:\r\n![cold-folding](https://cloud.githubusercontent.com/assets/199648/20714326/f4ae74bc-b64b-11e6-96c6-cd7c57d5ae90.gif)\r\n"}}
{"actor":{"display_login":"warpdesign"}}