{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/1051","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1051/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1051/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1051/events","html_url":"https://github.com/spyder-ide/spyder/issues/1051","id":57952237,"number":1051,"title":"New IPython Console (Spyder 2.2+): add support for the &#37;edit magic command","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/2%E2%80%935%20stars","name":"2–5 stars","color":"FFFFFF"},{"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/IPython-Console","name":"IPython-Console","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/task","name":"task","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/verified","name":"verified","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spyder-ide/spyder/milestones/8","labels_url":"https://api.github.com/repos/spyder-ide/spyder/milestones/8/labels","id":982086,"number":8,"title":"v2.2","description":null,"creator":{"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},"open_issues":1,"closed_issues":31,"state":"open","created_at":"2015-02-16T23:24:23Z","updated_at":"2015-02-17T17:12:17Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2015-02-17T17:12:17Z","updated_at":"2015-02-17T17:12:25Z","closed_at":null,"body":"_From [pierre.raybaut](https://code.google.com/u/pierre.raybaut/) on 2012-05-26T08:34:32Z_\n\nCurrently, the &#37;edit magic command will open the target filename in the default editor.\r\n\r\nFor example, on Windows platforms, typing...\r\nedit foobar.py\r\n...in an IPython client will open the notepad.exe to edit this file.\r\n(grreeat!)\r\n\r\nSo, we have to hack this feature so that it allows opening files with Spyder directly, for example by using the builtin function 'open_in_spyder' (see spyderlib/widgets/externalshell/sitecustomize.py).\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1051_"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/74706830","html_url":"https://github.com/spyder-ide/spyder/issues/1051#issuecomment-74706830","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1051","id":74706830,"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-17T17:12:25Z","updated_at":"2015-02-17T17:12:25Z","body":"_From [petrus.h...@gmail.com](https://code.google.com/u/113904071220560210639/) on 2012-06-10T07:37:38Z_\n\nMaybe I was quick.. It seems it is only possible to edit in the dir where ipython starts, if cd'ing to another dir nothing is opened. (silently)"}}