Skip to content
New issue

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

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

Already on GitHub? # to your account

Disambiguate files with same name in the tab bar #330

Closed
namandixit opened this issue Oct 15, 2024 · 1 comment
Closed

Disambiguate files with same name in the tab bar #330

namandixit opened this issue Oct 15, 2024 · 1 comment

Comments

@namandixit
Copy link

When multiple files are opened, the title of each tab is set equal to the name of the file. However, if two files have the same name, this makes thing confusing. One disambiguating scheme that could be used is to copy Emacs that scans each path back one folder at a time until it finds the folder whose name doesn't clash, and then adds that folder's name to the tab name. For example, two files with the path C:/a/b/c/d.txt and P:/a/e/c/d.txt will be shown as d.txt <b> and d.txt <e> respectively.

@ryanfleury
Copy link
Collaborator

Done in 9c1f8ef.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants