{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/3353","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/3353/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/3353/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/3353/events","html_url":"https://github.com/Microsoft/vscode/issues/3353","id":135796670,"number":3353,"title":"[folding] should not fold whitespace after function","user":{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars.githubusercontent.com/u/2193314?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false},"labels":[{"id":331200031,"url":"https://api.github.com/repos/Microsoft/vscode/labels/editor-folding","name":"editor-folding","color":"c7def8","default":false},{"id":272689392,"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":{"login":"aeschli","id":6461412,"avatar_url":"https://avatars.githubusercontent.com/u/6461412?v=3","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false},"assignees":[{"login":"aeschli","id":6461412,"avatar_url":"https://avatars.githubusercontent.com/u/6461412?v=3","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/8","html_url":"https://github.com/Microsoft/vscode/milestone/8","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/8/labels","id":1412124,"number":8,"title":"Backlog","description":"Work not yet planned for a specific release.","creator":{"login":"chrisdias","id":1487073,"avatar_url":"https://avatars.githubusercontent.com/u/1487073?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdias","html_url":"https://github.com/chrisdias","followers_url":"https://api.github.com/users/chrisdias/followers","following_url":"https://api.github.com/users/chrisdias/following{/other_user}","gists_url":"https://api.github.com/users/chrisdias/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdias/subscriptions","organizations_url":"https://api.github.com/users/chrisdias/orgs","repos_url":"https://api.github.com/users/chrisdias/repos","events_url":"https://api.github.com/users/chrisdias/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdias/received_events","type":"User","site_admin":false},"open_issues":1892,"closed_issues":1414,"state":"open","created_at":"2015-11-15T10:30:19Z","updated_at":"2017-02-26T06:41:05Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2016-02-23T16:58:19Z","updated_at":"2017-02-26T15:41:07Z","closed_at":null,"body":"Consider the Python script:\n\n``` python\ndef a:\n  pass\n\n\n\ndef b:\n  pass\n```\n\nCurrently all whitespace following the `pass` in `a` is collapsed with it:\n\n![image](https://cloud.githubusercontent.com/assets/2193314/13259252/7447658a-da0b-11e5-810b-bebd4639b294.png)\n\nThis will make it the code harder to read in some cases as there is no space between the functions are the author intended, making `a` look more like part of `b`.\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/282564463","html_url":"https://github.com/Microsoft/vscode/issues/3353#issuecomment-282564463","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/3353","id":282564463,"user":{"login":"spitis","id":5840802,"avatar_url":"https://avatars.githubusercontent.com/u/5840802?v=3","gravatar_id":"","url":"https://api.github.com/users/spitis","html_url":"https://github.com/spitis","followers_url":"https://api.github.com/users/spitis/followers","following_url":"https://api.github.com/users/spitis/following{/other_user}","gists_url":"https://api.github.com/users/spitis/gists{/gist_id}","starred_url":"https://api.github.com/users/spitis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spitis/subscriptions","organizations_url":"https://api.github.com/users/spitis/orgs","repos_url":"https://api.github.com/users/spitis/repos","events_url":"https://api.github.com/users/spitis/events{/privacy}","received_events_url":"https://api.github.com/users/spitis/received_events","type":"User","site_admin":false},"created_at":"2017-02-26T15:41:07Z","updated_at":"2017-02-26T15:41:07Z","body":"Ugly, but better than nothing, workaround:\r\n\r\nAdd an empty comment (`#`) in between functions you want to fold, and they will act as whitespace upon folding."}}
{"actor":{"display_login":"spitis"}}