# Option for tab labels

**URL:** <https://forum.obsidian.md/t/option-for-tab-labels/45220>\
**Category:** Feature requests\
**Tags:** ui-ux\
**Created:** [October 16, 2022, 12:22am UTC](https://forum.obsidian.md/t/option-for-tab-labels/45220 "2022-10-16T00:22:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexiondev](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/8dc957/32.png) [@alexiondev](https://forum.obsidian.md/u/alexiondev)\
**Post date:** [October 16, 2022, 12:22am UTC](https://forum.obsidian.md/t/option-for-tab-labels/45220/1 "2022-10-16T00:22:15Z")

</div>

### Use case or problem

If there is two files with the same name but under different directories, when both are opened it’s not clear which tab is which.

### Proposed solution

An option similar to VSCode’s `"workbench.editor.labelFormat"` where the user can configure how the tab labels are displayed.

| Value | Description | Example |
| --- | --- | --- |
| short | parent | `foo/bar` |
| medium | relative path (to vault) | `notes/foo/bar` |
| long | full path | `/home/usr/alexion/vault/notes/foo/bar` |
| default | parent when another tab with a similar name is open | `foo/bar` |

I don’t see myself ever using the `long` option but included it for completeness.

### Current workaround (optional)

Closest thing to a workaround is enabling the tab title bar to be able to see the breadcrumbs, but if not in any of the same name tabs it’s not clear.

---

<div class="post-metadata">

**Author:** ![obsequious](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/o/4af34b/32.png) [@obsequious](https://forum.obsidian.md/u/obsequious)\
**Post date:** [October 16, 2022, 1:58am UTC](https://forum.obsidian.md/t/option-for-tab-labels/45220/2 "2022-10-16T01:58:31Z")

</div>

See [Allow show folder path in title](https://forum.obsidian.md/t/allow-show-folder-path-in-title/425)
