{"action":"created","issue":{"url":"https://api.github.com/repos/adobe/brackets/issues/11100","labels_url":"https://api.github.com/repos/adobe/brackets/issues/11100/labels{/name}","comments_url":"https://api.github.com/repos/adobe/brackets/issues/11100/comments","events_url":"https://api.github.com/repos/adobe/brackets/issues/11100/events","html_url":"https://github.com/adobe/brackets/issues/11100","id":75879506,"number":11100,"title":"Code folding for variable definitions","user":{"login":"DiamondeX","id":2928174,"avatar_url":"https://avatars.githubusercontent.com/u/2928174?v=3","gravatar_id":"","url":"https://api.github.com/users/DiamondeX","html_url":"https://github.com/DiamondeX","followers_url":"https://api.github.com/users/DiamondeX/followers","following_url":"https://api.github.com/users/DiamondeX/following{/other_user}","gists_url":"https://api.github.com/users/DiamondeX/gists{/gist_id}","starred_url":"https://api.github.com/users/DiamondeX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DiamondeX/subscriptions","organizations_url":"https://api.github.com/users/DiamondeX/orgs","repos_url":"https://api.github.com/users/DiamondeX/repos","events_url":"https://api.github.com/users/DiamondeX/events{/privacy}","received_events_url":"https://api.github.com/users/DiamondeX/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adobe/brackets/labels/F%20Code%20Folding","name":"F Code Folding","color":"5319e7"},{"url":"https://api.github.com/repos/adobe/brackets/labels/move%20to%20backlog","name":"move to backlog","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-13T07:21:43Z","updated_at":"2015-07-08T23:04:59Z","closed_at":null,"body":"Sometimes variable definitions could consume quite a lot of lines. Could you add folding of such blocks?"},"comment":{"url":"https://api.github.com/repos/adobe/brackets/issues/comments/119754999","html_url":"https://github.com/adobe/brackets/issues/11100#issuecomment-119754999","issue_url":"https://api.github.com/repos/adobe/brackets/issues/11100","id":119754999,"user":{"login":"thehogfather","id":1283787,"avatar_url":"https://avatars.githubusercontent.com/u/1283787?v=3","gravatar_id":"","url":"https://api.github.com/users/thehogfather","html_url":"https://github.com/thehogfather","followers_url":"https://api.github.com/users/thehogfather/followers","following_url":"https://api.github.com/users/thehogfather/following{/other_user}","gists_url":"https://api.github.com/users/thehogfather/gists{/gist_id}","starred_url":"https://api.github.com/users/thehogfather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehogfather/subscriptions","organizations_url":"https://api.github.com/users/thehogfather/orgs","repos_url":"https://api.github.com/users/thehogfather/repos","events_url":"https://api.github.com/users/thehogfather/events{/privacy}","received_events_url":"https://api.github.com/users/thehogfather/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T23:04:59Z","updated_at":"2015-07-08T23:04:59Z","body":"@DiamondeX the codefolding extension has a feature that is disabled by default which takes the indentation level of the lines of code into account when determining foldable regions. You can enable it by adding this line to your `.brackets.json` file `    \"code-folding.alwaysUseIndentFold\": true,`. This would make your example collapsible.\r\n\r\nBut you should be aware that enabling this feature might cause overalapping fold regions to occur in the file."}}