My tabs currently look like this:

<Pasted File.png>

Having the same trouble working with JS. Ideally TM could do this automatically.
If there are two or more tabs with the same name, then show the directory name too.