{"action":"created","issue":{"url":"https://api.github.com/repos/pancho111203/vscode-ipython/issues/4","repository_url":"https://api.github.com/repos/pancho111203/vscode-ipython","labels_url":"https://api.github.com/repos/pancho111203/vscode-ipython/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/pancho111203/vscode-ipython/issues/4/comments","events_url":"https://api.github.com/repos/pancho111203/vscode-ipython/issues/4/events","html_url":"https://github.com/pancho111203/vscode-ipython/issues/4","id":351139441,"node_id":"MDU6SXNzdWUzNTExMzk0NDE=","number":4,"title":"Fixed a few things in the extension","user":{"login":"dhanvantaritkv","id":13935,"node_id":"MDQ6VXNlcjEzOTM1","avatar_url":"https://avatars3.githubusercontent.com/u/13935?v=4","gravatar_id":"","url":"https://api.github.com/users/dhanvantaritkv","html_url":"https://github.com/dhanvantaritkv","followers_url":"https://api.github.com/users/dhanvantaritkv/followers","following_url":"https://api.github.com/users/dhanvantaritkv/following{/other_user}","gists_url":"https://api.github.com/users/dhanvantaritkv/gists{/gist_id}","starred_url":"https://api.github.com/users/dhanvantaritkv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhanvantaritkv/subscriptions","organizations_url":"https://api.github.com/users/dhanvantaritkv/orgs","repos_url":"https://api.github.com/users/dhanvantaritkv/repos","events_url":"https://api.github.com/users/dhanvantaritkv/events{/privacy}","received_events_url":"https://api.github.com/users/dhanvantaritkv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-16T10:07:13Z","updated_at":"2018-08-22T14:20:43Z","closed_at":null,"author_association":"NONE","body":"Hey Francisco,\r\n\r\nI'm raising this issue so that you can check this at your convenient time. \r\n\r\nI was looking for any vscode extension that would work similar to 'shift+enter' in JupyterLab and came across your extension. The existing vscode-python has implemented something similar. It works fine but fails for lines with spaces/tabs in the beginning of the line or have empty lines. These failures do not happening in ipython. Your plugin is exactly what I was looking for. However it had a few issues and needed some ironing out. I cloned this repo and fixed it in my local machine. \r\n\r\nThings that I have updated are (only for the command **ipython.sendSelectedToIPython**) :\r\n\r\n- Removed imports\r\n- If no text is selected then pick the current line from the editor to execute.\r\n- If there is a selection that is not spanning to multiple lines (like selecting just a variable name or expression in single line) then execute just that part.\r\n- If multiple lines are selected then press enter twice to execute them. (Your approach to use 'load' was the best method)\r\n- Added short cut 'cmd+l' for executing the selected line/lines. (we could also use 'ctrl+l' in order to support windows users)\r\n- The focus remains in the editor window and moves the cursor to the next line so that we can continue to run the next line\r\n\r\nAfter making these changes, I have used in my daily activities and did not come across any issues as such. I found this plugin to be very useful and wanted to share this with you and the community.\r\n\r\nIf you are interested in merging these changes and publishing the extension feel free to hit me up. Love to hear from you."},"comment":{"url":"https://api.github.com/repos/pancho111203/vscode-ipython/issues/comments/415048877","html_url":"https://github.com/pancho111203/vscode-ipython/issues/4#issuecomment-415048877","issue_url":"https://api.github.com/repos/pancho111203/vscode-ipython/issues/4","id":415048877,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTA0ODg3Nw==","user":{"login":"wajahat57","id":2271839,"node_id":"MDQ6VXNlcjIyNzE4Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/2271839?v=4","gravatar_id":"","url":"https://api.github.com/users/wajahat57","html_url":"https://github.com/wajahat57","followers_url":"https://api.github.com/users/wajahat57/followers","following_url":"https://api.github.com/users/wajahat57/following{/other_user}","gists_url":"https://api.github.com/users/wajahat57/gists{/gist_id}","starred_url":"https://api.github.com/users/wajahat57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wajahat57/subscriptions","organizations_url":"https://api.github.com/users/wajahat57/orgs","repos_url":"https://api.github.com/users/wajahat57/repos","events_url":"https://api.github.com/users/wajahat57/events{/privacy}","received_events_url":"https://api.github.com/users/wajahat57/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T14:20:43Z","updated_at":"2018-08-22T14:20:43Z","author_association":"NONE","body":"Hi\r\n\r\nThanks for the changes you made. However, I am unable to start the ipython console inside Visual Code using your package, however, the menu options do appear. I get the following error:\r\n\r\n```\r\nC:\\PythonScripts> %load d:\\My Documents\\PythonScripts\\test_01.py\r\n'%load' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n```\r\n"}}
{"actor":{"display_login":"wajahat57"}}