[TxMt] Feature request: Have Header/Source and Go To File honor directories

Lars Pind lars at pinds.com
Wed Mar 9 17:57:48 UTC 2005


Hi Allan and friends,

I have a source tree structure like this:

www/
   site/
     index.tcl, .adp
     one.tcl, .adp
     edit.tcl, .adp
   item/
     index.tcl, .adp
     one.tcl, .adp
     edit.tcl, .adp

The fact that files are named the same, but in different directories:

- Confuses both the Cmd-Opt-Up "Go to Header/Source" feature, which 
will gladly find www/item/one.adp when I'm editing www/site/one.tcl. It 
would be good if it would prefer the file in the current directory when 
one exists. Otherwise, it's a great feature.

- Similarly, when using Cmd-T "Go to file", which I use almost 
exclusively to open up new files now, it would be great if I could 
write "itemonetcl" to get item/one.tcl, as opposed to site/one.tcl. 
Currently, it doesn't take the path into account at all.

I can see some downsides to changing current behavior, too, 
particularly with the Go to file feature.

But let me know what you think.

/Lars




More information about the textmate mailing list