That would require the tabs to track and compare filenames, which I imagine can be expensive. And also, what if the parent directory also matches with the parent of a different file? With an option like windowTitle (I suggest tabTitle), TextMate doesn't have to make a best guess.<div><div><div><br></div><div>Koen</div><br><signature>Sent from <a href="https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz/local-d0a8883c-3758/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=dGV4dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=">Nylas N1</a>, the extensible, open source mail client.</signature></div></div>
        <div class="gmail_quote nylas-quote nylas-quote-id-bwsx4kjyxne0wup3jp4kagpct">
          <br>
          On Nov 1 2016, at 4:55 pm, Igor Kozlov <me@igorkozlov.me> wrote:
          <br>
          <blockquote class="gmail_quote"
            style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
            


<meta charset="utf-8" />


<body style="display: block; margin: 8px; font-family: -apple-system,Helvetica,Arial,sans-serif;">
<blockquote type="cite" style="display: block; -webkit-margin-before: 1__qem; -webkit-margin-after: 1em; -webkit-margin-start: 40px; -webkit-margin-end: 40px; margin: 0; padding: 0 0 0 12px; border-left: 1px solid #aaa; color: #aaa;">
<div style="display: block; font-family: -webkit-standard; font-variant-caps: normal;">
<div style="display: block;">My tabs currently look like this:<br />
</div>
<div style="display: block;"><br /></div>
<div style="display: block;">
<Pasted File.png>
</div>
</div>
</blockquote>
<div style="display: block;"><br /></div>
<div style="display: block;">Having the same trouble working with JS. Ideally TM could do this automatically.</div>
<div style="display: block;">If there are two or more tabs with the same name, then show the directory name too.</div>
</body>

          </blockquote>
        </div>