Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show folder name prefix in tab if multiple files are having the same name #11606

Closed
mohsen1 opened this issue Sep 6, 2016 · 3 comments
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) workbench-tabs VS Code editor tab issues

Comments

@mohsen1
Copy link

mohsen1 commented Sep 6, 2016

  • VSCode Version: 1.4
  • OS Version: OS X

screen shot 2016-09-06 at 3 13 54 pm

It's a common pattern in many projects to have an index file in each folder. When I open multiple index files I can't tell from tab header which index file is which.

To fix this problem I'm proposing to have a smarter tab name that detects if multiple tabs are having exact same file name and prepends the folder those files are at in the tab header. It should do this when multiple editor instances of the same file are open.

@ramya-rao-a
Copy link
Contributor

Wouldn't hovering on the tab give you the full path?

@ramya-rao-a ramya-rao-a added the workbench-tabs VS Code editor tab issues label Sep 7, 2016
@mohsen1
Copy link
Author

mohsen1 commented Sep 7, 2016

yes, but that takes a few seconds.

Sublime has an option to show the full path in the tab header but I think that's too much and messy. What I proposed should be simpler and cleaner

@bpasero
Copy link
Member

bpasero commented Sep 7, 2016

#8499

@bpasero bpasero closed this as completed Sep 7, 2016
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 7, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) workbench-tabs VS Code editor tab issues
Projects
None yet
Development

No branches or pull requests

4 participants