{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/117","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/117/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/117/events","html_url":"https://github.com/spyder-ide/spyder/issues/117","id":57863234,"number":117,"title":"Feature request: something similar to Matlab's cell mode","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/6%E2%80%9310%20stars","name":"6–10 stars","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Type-Enhancement","name":"Type-Enhancement","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-02-16T23:21:42Z","updated_at":"2015-02-16T23:21:53Z","closed_at":null,"body":"_From [okke.formsma](https://code.google.com/u/okke.formsma/) on 2009-11-17T05:14:42Z_\n\nI do most of my heavy-lifting work in Matlab, but I like programming in \r\nPython better. On all fronts, python(x,y) with spyderlib works great, except \r\nthat I miss a beloved feature: Matlab's cell mode.\r\n\r\nCell mode divides a script in 'cells' by a special comment. When pressing \r\nctrl+F5, only the current cell is evaluated. This is similar to the select-\r\nand-run feature in spyderlib (Ctrl+F9), but now I have to select the code I \r\nwant to execute each time, which is tedious.\r\n\r\nIt would be great if I could divide the code in blocks by a special \r\n(comment-)marker, it would speed up my work greatly.\r\n\r\nMatlab uses the double-comment (##) as block-divider. We could use a &#37;&#37;, or \r\na triple-comment (\"\"\"Cell\"\"\"). I prefer the double-comment, as this is much \r\nfaster to type.\r\n\r\nIn any case, thanks for making this software. It's awesome.\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=117_"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/74588535","html_url":"https://github.com/spyder-ide/spyder/issues/117#issuecomment-74588535","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/117","id":74588535,"user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T23:21:53Z","updated_at":"2015-02-16T23:21:53Z","body":"_From [Michaelm...@gmail.com](https://code.google.com/u/100955607653884188228/) on 2013-03-17T06:48:23Z_\n\nI find cells are very useful for decoding errors. I usually do not use them to structure my code, unless I want to show someone an algorithm step by step. Is that a bad programming habit? I don't think so.\r\n\r\nI may put in comments that I do not really want to pause at. I agree with the using the ## delimit blocks."}}