{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/59542","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/59542/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/59542/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/59542/events","html_url":"https://github.com/Microsoft/vscode/issues/59542","id":364433202,"node_id":"MDU6SXNzdWUzNjQ0MzMyMDI=","number":59542,"title":"Access currently open file from integrated terminal","user":{"login":"guywald1","id":6546430,"node_id":"MDQ6VXNlcjY1NDY0MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/6546430?v=4","gravatar_id":"","url":"https://api.github.com/users/guywald1","html_url":"https://github.com/guywald1","followers_url":"https://api.github.com/users/guywald1/followers","following_url":"https://api.github.com/users/guywald1/following{/other_user}","gists_url":"https://api.github.com/users/guywald1/gists{/gist_id}","starred_url":"https://api.github.com/users/guywald1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guywald1/subscriptions","organizations_url":"https://api.github.com/users/guywald1/orgs","repos_url":"https://api.github.com/users/guywald1/repos","events_url":"https://api.github.com/users/guywald1/events{/privacy}","received_events_url":"https://api.github.com/users/guywald1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Tyriar","id":2193314,"node_id":"MDQ6VXNlcjIxOTMzMTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2193314?v=4","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false},"assignees":[{"login":"Tyriar","id":2193314,"node_id":"MDQ6VXNlcjIxOTMzMTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2193314?v=4","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-09-27T11:41:24Z","updated_at":"2018-09-28T15:27:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Issue Type: **Feature Request**\r\n\r\nCould perhaps be done by changing an environment variable (and unsetting it when editor closes).\r\n\r\nUse case for this is when you want to execute a command on a file-by-file basis but want to see the file open in the editor, like running the currently open script from the command line, staging a file with the git CLI etc.\r\n\r\nShould probably be opt-in."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/425473019","html_url":"https://github.com/Microsoft/vscode/issues/59542#issuecomment-425473019","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/59542","id":425473019,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTQ3MzAxOQ==","user":{"login":"Tyriar","id":2193314,"node_id":"MDQ6VXNlcjIxOTMzMTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2193314?v=4","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T15:27:59Z","updated_at":"2018-09-28T15:27:59Z","author_association":"MEMBER","body":"An environment variable wouldn't work for this as once the environment is set and the shell is forked off, we can no longer change it. One way to solve this would be to add a CLI to access the current file of the last active window, but it seems like something that would seldom be used. Moving back to you @joaomoreno 😉 "}}
{"actor":{"display_login":"Tyriar"}}