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
On Mar 9, 2005, at 18:57, Lars Pind wrote:
I have a source tree structure like this: [...]
- 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.
Yeah, I can fix that -- so if there are multiple files with same basename in some folder, it'll switch between these, otherwise it'll use the entire project.
- 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.
This one is more tricky, because in e.g. my own case (where I have unique filenames) adding the full path will just add noise, which is likely to cause many of my two letter abbreviations to not work.
But I can probably tweak the algorithm so that parent path components are given lower priority.
This one is more tricky, because in e.g. my own case (where I have unique filenames) adding the full path will just add noise, which is likely to cause many of my two letter abbreviations to not work.
But I can probably tweak the algorithm so that parent path components are given lower priority.
Maybe use tab to toggle between path and file selection. Default to just files and when you hit tab the selector is filled with /project/relative/path/to/file.html
This would be great to open one of the 100 index.htmls in your average web project
Allan Odgaard <allan@...> writes:
But I can probably tweak the algorithm so that parent path components are given lower priority.
Any update on this? I've been dying for it... cmd-t is useless on big web projects where the directory structure means more to the contents of the files than the filenames themselves.
On 13. Jul 2007, at 23:26, Kevin Cox wrote:
But I can probably tweak the algorithm so that parent path components are given lower priority.
Any update on this? [...]
No… like basically everything else non-bundle related, it will at the earliest appear in 2.0 and no ETA is given for this release other than “sometime after Leopard”.
Allan Odgaard <throw-away-1@...> writes:
On 13. Jul 2007, at 23:26, Kevin Cox wrote:
But I can probably tweak the algorithm so that parent path components are given lower priority.
Any update on this? [...]
No… like basically everything else non-bundle related, it will at the earliest appear in 2.0 and no ETA is given for this release other than “sometime after Leopard”.
this shortcoming is also painful in a rails apps, where we have dozens of show.html.erb files and want to scope to a specific model. any updates on this?