{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/7345","labels_url":"https://api.github.com/repos/atom/atom/issues/7345/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/7345/comments","events_url":"https://api.github.com/repos/atom/atom/issues/7345/events","html_url":"https://github.com/atom/atom/issues/7345","id":89609665,"number":7345,"title":"Proposal: Improve tab titles when opening files with the same name","user":{"login":"patrick-steele-idem","id":978214,"avatar_url":"https://avatars.githubusercontent.com/u/978214?v=3","gravatar_id":"","url":"https://api.github.com/users/patrick-steele-idem","html_url":"https://github.com/patrick-steele-idem","followers_url":"https://api.github.com/users/patrick-steele-idem/followers","following_url":"https://api.github.com/users/patrick-steele-idem/following{/other_user}","gists_url":"https://api.github.com/users/patrick-steele-idem/gists{/gist_id}","starred_url":"https://api.github.com/users/patrick-steele-idem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrick-steele-idem/subscriptions","organizations_url":"https://api.github.com/users/patrick-steele-idem/orgs","repos_url":"https://api.github.com/users/patrick-steele-idem/repos","events_url":"https://api.github.com/users/patrick-steele-idem/events{/privacy}","received_events_url":"https://api.github.com/users/patrick-steele-idem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/enhancement","name":"enhancement","color":"bfd4f2"},{"url":"https://api.github.com/repos/atom/atom/labels/help-wanted","name":"help-wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-19T16:45:30Z","updated_at":"2015-06-21T14:52:42Z","closed_at":null,"body":"When opening multiple files with the same base name (but in different directories) it is hard to distinguish which tab is associated with which file. Currently, when Atom detects that multiple files with the same name are opened it appends the complete project path after the filename, but it is cut off (making it not very helpful). The user must use their mouse to hover over the tab to know the full path. I think the logic can be improved by including the parent directory name to the left of the file name as shown below:\r\n\r\n# One tab\r\n![one-tab](https://cloud.githubusercontent.com/assets/978214/8258063/4da379d8-166f-11e5-937f-e7b1e8f9413f.png)\r\n\r\n# Two tabs (current)\r\n![two-tabs](https://cloud.githubusercontent.com/assets/978214/8258067/517bbc5a-166f-11e5-88a9-867c8e91acdc.png)\r\n\r\n# Two tabs (proposed)\r\n![two-tabs-good](https://cloud.githubusercontent.com/assets/978214/8258068/53509da2-166f-11e5-8e08-a6bc5552ba23.png)\r\n\r\nThoughts?\r\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/113911244","html_url":"https://github.com/atom/atom/issues/7345#issuecomment-113911244","issue_url":"https://api.github.com/repos/atom/atom/issues/7345","id":113911244,"user":{"login":"paulpflug","id":1881921,"avatar_url":"https://avatars.githubusercontent.com/u/1881921?v=3","gravatar_id":"","url":"https://api.github.com/users/paulpflug","html_url":"https://github.com/paulpflug","followers_url":"https://api.github.com/users/paulpflug/followers","following_url":"https://api.github.com/users/paulpflug/following{/other_user}","gists_url":"https://api.github.com/users/paulpflug/gists{/gist_id}","starred_url":"https://api.github.com/users/paulpflug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulpflug/subscriptions","organizations_url":"https://api.github.com/users/paulpflug/orgs","repos_url":"https://api.github.com/users/paulpflug/repos","events_url":"https://api.github.com/users/paulpflug/events{/privacy}","received_events_url":"https://api.github.com/users/paulpflug/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T14:52:42Z","updated_at":"2015-06-21T14:52:42Z","body":"I would propose two-lines tabs - in all themes I have tested, there is enough space\r\n![fnt-one](https://cloud.githubusercontent.com/assets/1881921/8182311/7b398b00-142e-11e5-8a27-9e179e285a5c.png)\r\n[like here](https://atom.io/packages/foldername-tabs)"}}