简体   繁体   中英

Files with the same name in a TextMate project

One of the few things that bothers me about TextMate is that it can be difficult to differentiate between files that share the same name in a project, eg:

alt text http://img530.imageshack.us/img530/6791/bild1r.png

In this case, the file on the right is located in the project relative path model/realtimemodel.py, while the other file contains unit tests for that code. Sure, you can command-click the name in the title bar to see a directory list, but it feels sub-optimal. What I would like is something along the lines of:

alt text http://img240.imageshack.us/img240/1783/bild3.png

This gives a quick at-a-glance idea of what file you're working on. Has anyone seen any plugin or bundle that makes this possible?

Edit: Here is a ticket in Macromates tracker that requests this feature (although I would prefer a project-relative path).

I think vasi 's solution is the closest you can get to what you want (+1 for him) I don't think that the bundle can be automatically ran on open, and also, the title changes back to default when switching between tabs, so even if it could, it would be useless.

I've searched for a defaults key (like the one from Finder, _FXShowPosixPathInTitle editable with

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES)

but there isn't any. Here's the list of available keys for Textmate.

Maybe you can write feature request somewhere as it is very useful and not so hard to impletement.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM