{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/12040","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/12040/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/12040/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/12040/events","html_url":"https://github.com/Microsoft/vscode/issues/12040","id":176981979,"number":12040,"title":"Identical file name path in tab is too long and difficult to diff","user":{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars.githubusercontent.com/u/2193314?v=3","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},"labels":[{"id":272689392,"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"bfe5bf","default":false},{"id":256129996,"url":"https://api.github.com/repos/Microsoft/vscode/labels/help%20wanted","name":"help wanted","color":"fef2c0","default":true},{"id":296838217,"url":"https://api.github.com/repos/Microsoft/vscode/labels/ux","name":"ux","color":"c7def8","default":false},{"id":400270121,"url":"https://api.github.com/repos/Microsoft/vscode/labels/verification-needed","name":"verification-needed","color":"d4c5f9","default":false},{"id":297952453,"url":"https://api.github.com/repos/Microsoft/vscode/labels/workbench","name":"workbench","color":"1d76db","default":false},{"id":365206665,"url":"https://api.github.com/repos/Microsoft/vscode/labels/workbench-tabs","name":"workbench-tabs","color":"c7def8","default":false}],"state":"closed","locked":false,"assignee":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"assignees":[{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/33","html_url":"https://github.com/Microsoft/vscode/milestone/33","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/33/labels","id":2133194,"number":33,"title":"January 2017","description":"","creator":{"login":"weinand","id":1898161,"avatar_url":"https://avatars.githubusercontent.com/u/1898161?v=3","gravatar_id":"","url":"https://api.github.com/users/weinand","html_url":"https://github.com/weinand","followers_url":"https://api.github.com/users/weinand/followers","following_url":"https://api.github.com/users/weinand/following{/other_user}","gists_url":"https://api.github.com/users/weinand/gists{/gist_id}","starred_url":"https://api.github.com/users/weinand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weinand/subscriptions","organizations_url":"https://api.github.com/users/weinand/orgs","repos_url":"https://api.github.com/users/weinand/repos","events_url":"https://api.github.com/users/weinand/events{/privacy}","received_events_url":"https://api.github.com/users/weinand/received_events","type":"User","site_admin":false},"open_issues":173,"closed_issues":498,"state":"open","created_at":"2016-11-14T11:19:32Z","updated_at":"2017-01-23T17:51:59Z","due_on":"2017-01-29T08:00:00Z","closed_at":null},"comments":8,"created_at":"2016-09-14T18:21:11Z","updated_at":"2017-01-23T17:55:58Z","closed_at":"2017-01-13T15:47:24Z","body":"- VSCode Version: Code - Insiders 1.6.0-insider (fad6a894c197ee791403ac694c9316b0654f31a4, 2016-09-14T13:18:39.616Z)\n- OS Version: Linux x64 4.4.0-36-generic, Ubuntu 16.04\n\nCurrent:\n\n![image](https://cloud.githubusercontent.com/assets/2193314/18524039/a403a33c-7a6b-11e6-94e6-02f60bc61668.png)\n\nProposed:\n\n![image](https://cloud.githubusercontent.com/assets/2193314/18524117/fe9a1f7e-7a6b-11e6-8c73-0d6aac733096.png)\n\nTo describe the behavior I want: It should replace all parts of the start of the path that are the same with `…/`, then add the differing word(s) and then either `/…/` or `/`. This makes it easier to differentiate each tab and also reduces the total space taken by the tab particularly in a deep directory structure.\n\nSome interesting cases could arise when more than 2 files collide in which maybe 2 parts of the path would need to be displayed, for example:\n- `src/vs/workbench/parts/execution/electron-browser/terminalService.ts`\n- `src/vs/workbench/parts/execution/electron-browser/something/terminalService.ts`\n- `src/vs/workbench/parts/terminal/electron-browser/terminalService.ts`\n\nCould yield:\n- `…/execution/electron-browser/terminalService.ts`\n- `…/execution/electron-browser/something/terminalService.ts`\n- `…/terminal/…/terminalService.ts`\n\nBasically just providing enough information to uniquely identify the file, `electron-browser` could not be truncated above as `…/execution/…/terminalService.ts` represents both files.\n\nAnother interesting edge case: single letter folders would probably consume more space when truncated.\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/274565204","html_url":"https://github.com/Microsoft/vscode/issues/12040#issuecomment-274565204","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/12040","id":274565204,"user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"created_at":"2017-01-23T17:55:58Z","updated_at":"2017-01-23T17:55:58Z","body":"* [ ] **To verify:** \r\nVerify that you see meaningful descriptions (those things besides the main label) when opening files with the same name but inside different folders. Our VS Code sources are a good candidate for testing (e.g. terminalxy)."}}
{"actor":{"display_login":"bpasero"}}