{"action":"created","issue":{"url":"https://api.github.com/repos/pycom/pymakr-vsc/issues/17","repository_url":"https://api.github.com/repos/pycom/pymakr-vsc","labels_url":"https://api.github.com/repos/pycom/pymakr-vsc/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/pycom/pymakr-vsc/issues/17/comments","events_url":"https://api.github.com/repos/pycom/pymakr-vsc/issues/17/events","html_url":"https://github.com/pycom/pymakr-vsc/issues/17","id":367258226,"node_id":"MDU6SXNzdWUzNjcyNTgyMjY=","number":17,"title":"Add : Run a line of code ","user":{"login":"Josverl","id":981654,"node_id":"MDQ6VXNlcjk4MTY1NA==","avatar_url":"https://avatars2.githubusercontent.com/u/981654?v=4","gravatar_id":"","url":"https://api.github.com/users/Josverl","html_url":"https://github.com/Josverl","followers_url":"https://api.github.com/users/Josverl/followers","following_url":"https://api.github.com/users/Josverl/following{/other_user}","gists_url":"https://api.github.com/users/Josverl/gists{/gist_id}","starred_url":"https://api.github.com/users/Josverl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josverl/subscriptions","organizations_url":"https://api.github.com/users/Josverl/orgs","repos_url":"https://api.github.com/users/Josverl/repos","events_url":"https://api.github.com/users/Josverl/events{/privacy}","received_events_url":"https://api.github.com/users/Josverl/received_events","type":"User","site_admin":false},"labels":[{"id":648950229,"node_id":"MDU6TGFiZWw2NDg5NTAyMjk=","url":"https://api.github.com/repos/pycom/pymakr-vsc/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-05T15:22:25Z","updated_at":"2018-12-19T21:21:16Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"# Feature Request 🚀\r\n\r\nAllow a lines of code , or a block of code to be set to the board for execution,\r\nsimilar to the Ctrl-Enter shortcut in VSCode + Python \r\n\r\n\r\n## Describe the solution you'd like\r\n-Assign keybinding ( Ctrl-Enter / Ctrl-Shift-L or something) \r\nif the cursor is on a line \r\n> send that line to the board \r\n> execute the code \r\n> put focus back in the editor \r\n\r\nif a block is selected \r\n> send that block to the board ( must use paste-mode) \r\n> execute the code \r\n> put focus back in the editor \r\n\r\nthis would allow a developer to test single lines, or block of code ,\r\nand effectively single-step though a piece of code by running it line by line \r\n\r\nas a further enhancement, extraneous indentation could be removed to allow running if sub-sections of indented code \r\n\r\n## Describe alternatives you've considered\r\nCopy and Paste from the editor to the terminal is possible , but error prone \r\nthis is not an effective workflow\r\n\r\n## Teachability, Documentation, Adoption, Migration Strategy\r\n*If you can, explain how users will be able to use this and possibly write out a version the docs. Maybe a screenshot or design?*\r\n\r\nI have sample working code in https://github.com/pycom/pymakr-vsc/compare/master...Josverl:RunByLine  \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pycom/pymakr-vsc/issues/comments/448748032","html_url":"https://github.com/pycom/pymakr-vsc/issues/17#issuecomment-448748032","issue_url":"https://api.github.com/repos/pycom/pymakr-vsc/issues/17","id":448748032,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODc0ODAzMg==","user":{"login":"sebastienkrut","id":18078043,"node_id":"MDQ6VXNlcjE4MDc4MDQz","avatar_url":"https://avatars0.githubusercontent.com/u/18078043?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastienkrut","html_url":"https://github.com/sebastienkrut","followers_url":"https://api.github.com/users/sebastienkrut/followers","following_url":"https://api.github.com/users/sebastienkrut/following{/other_user}","gists_url":"https://api.github.com/users/sebastienkrut/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienkrut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienkrut/subscriptions","organizations_url":"https://api.github.com/users/sebastienkrut/orgs","repos_url":"https://api.github.com/users/sebastienkrut/repos","events_url":"https://api.github.com/users/sebastienkrut/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienkrut/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T21:21:16Z","updated_at":"2018-12-19T21:21:16Z","author_association":"NONE","body":"Wouldn't it be good to give the focus to the next line of code when a line (or a block) of code has been executed?\r\nDoing so would allow to run few lines in a sequence (even empty lines)."}}
{"actor":{"display_login":"sebastienkrut"}}