{"action":"created","issue":{"url":"https://api.github.com/repos/atom/tabs/issues/160","repository_url":"https://api.github.com/repos/atom/tabs","labels_url":"https://api.github.com/repos/atom/tabs/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/atom/tabs/issues/160/comments","events_url":"https://api.github.com/repos/atom/tabs/issues/160/events","html_url":"https://github.com/atom/tabs/issues/160","id":85403042,"number":160,"title":"Tab of deleted file should be closed","user":{"login":"adambuczynski","id":490562,"avatar_url":"https://avatars.githubusercontent.com/u/490562?v=3","gravatar_id":"","url":"https://api.github.com/users/adambuczynski","html_url":"https://github.com/adambuczynski","followers_url":"https://api.github.com/users/adambuczynski/followers","following_url":"https://api.github.com/users/adambuczynski/following{/other_user}","gists_url":"https://api.github.com/users/adambuczynski/gists{/gist_id}","starred_url":"https://api.github.com/users/adambuczynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambuczynski/subscriptions","organizations_url":"https://api.github.com/users/adambuczynski/orgs","repos_url":"https://api.github.com/users/adambuczynski/repos","events_url":"https://api.github.com/users/adambuczynski/events{/privacy}","received_events_url":"https://api.github.com/users/adambuczynski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/tabs/labels/atom","name":"atom","color":"207de5"},{"url":"https://api.github.com/repos/atom/tabs/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":38,"created_at":"2015-06-05T03:28:24Z","updated_at":"2016-05-07T21:59:52Z","closed_at":"2016-03-08T18:56:27Z","body":"When you delete a file, if it was open in a tab I think the tab should be closed.\r\n\r\nWhat happens now, is that after deleting a file from within tree view, the tab remains open with the file being in trash. Then when you want to close the window, you get a confirmation screen asking you if you want to save the file or not. This is pretty annoying and seems redundant. Deleting a file already comes with it's own confirmation dialog.\r\n\r\nIf this is an issue for atom/tree-view let me know and I'll re-post there."},"comment":{"url":"https://api.github.com/repos/atom/tabs/issues/comments/217671174","html_url":"https://github.com/atom/tabs/issues/160#issuecomment-217671174","issue_url":"https://api.github.com/repos/atom/tabs/issues/160","id":217671174,"user":{"login":"adambuczynski","id":490562,"avatar_url":"https://avatars.githubusercontent.com/u/490562?v=3","gravatar_id":"","url":"https://api.github.com/users/adambuczynski","html_url":"https://github.com/adambuczynski","followers_url":"https://api.github.com/users/adambuczynski/followers","following_url":"https://api.github.com/users/adambuczynski/following{/other_user}","gists_url":"https://api.github.com/users/adambuczynski/gists{/gist_id}","starred_url":"https://api.github.com/users/adambuczynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambuczynski/subscriptions","organizations_url":"https://api.github.com/users/adambuczynski/orgs","repos_url":"https://api.github.com/users/adambuczynski/repos","events_url":"https://api.github.com/users/adambuczynski/events{/privacy}","received_events_url":"https://api.github.com/users/adambuczynski/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T21:59:52Z","updated_at":"2016-05-07T21:59:52Z","body":"@lemire if you have a better solution to address both sides of the story, then I think the Atom team would love to hear it ;)"}}