{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/46413","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/46413/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/46413/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/46413/events","html_url":"https://github.com/Microsoft/vscode/issues/46413","id":308015369,"number":46413,"title":"Feature request: Import file from `Go to File...` in currently opened editor.","user":{"login":"ackvf","id":2313018,"avatar_url":"https://avatars1.githubusercontent.com/u/2313018?v=4","gravatar_id":"","url":"https://api.github.com/users/ackvf","html_url":"https://github.com/ackvf","followers_url":"https://api.github.com/users/ackvf/followers","following_url":"https://api.github.com/users/ackvf/following{/other_user}","gists_url":"https://api.github.com/users/ackvf/gists{/gist_id}","starred_url":"https://api.github.com/users/ackvf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ackvf/subscriptions","organizations_url":"https://api.github.com/users/ackvf/orgs","repos_url":"https://api.github.com/users/ackvf/repos","events_url":"https://api.github.com/users/ackvf/events{/privacy}","received_events_url":"https://api.github.com/users/ackvf/received_events","type":"User","site_admin":false},"labels":[{"id":272689392,"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"dcdcdc","default":false},{"id":291124272,"url":"https://api.github.com/repos/Microsoft/vscode/labels/javascript","name":"javascript","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false},"assignees":[{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-03-23T12:43:56Z","updated_at":"2018-03-26T20:51:53Z","closed_at":"2018-03-26T20:51:53Z","author_association":"NONE","body":"1) Open a file in the editor\r\n2) Open `Go to File...` or `Ctrl+P` and find another file\r\n3) `<invoke some action here>`\r\n4) **Result:** Selected file will get imported with correct path in the currently opened editor\r\n\r\n![image](https://user-images.githubusercontent.com/2313018/37829024-bd7f2132-2e9d-11e8-92f7-de4270f6b6c8.png)\r\n\r\nAd 3) version 1\r\n- The open dialog could introduce new icon (next to \"Open to the Side\" icon) with hover text \"Import in current file\"\r\n- Some keyboard shortcut will dismiss the dialog and import the file (similar to pressing Enter)\r\n\r\nAd 3) version 2\r\n- Introduce new command `Import File...` that looks similar to `Go to File...`, but pressing Enter imports the file instead of opening a new editor\r\n\r\nAd 3) version 3\r\n- Introduce a modifier key combination `Ctrl+I`. Pressing this combination while `Go to File...` is opened will change it to `Import File...`"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/376307555","html_url":"https://github.com/Microsoft/vscode/issues/46413#issuecomment-376307555","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/46413","id":376307555,"user":{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T20:51:53Z","updated_at":"2018-03-26T20:51:53Z","author_association":"CONTRIBUTOR","body":"I'm not convinced this makes sense for core VS Code, but an extension could certainly add this functionality \r\n\r\nClosing as extension candidate "}}
{"actor":{"display_login":"mjbvz"}}