Ack in project searches more than project
-
Trevor Squires
- State changed from new to hold
Hi Bradley,
this is sort-of by design. The 'ack' command itself is geared to (by default) searching entire directory trees under your current location - something that works very well when you've got a project containing many hundreds of files.
It's probably possible for me to construct a list of files that are eligible for searching but it strikes me that it would be a) slower and b) require a lot of defensive effort to make sure I don't exceed OS limits on the length of an argument list when calling ack.
If you can find a way to support your requirement without significantly impacting the common case of "a .tmproj file in the root of a tree with a lot of files and directories" I'd definitely take a look at integrating it into the bundle.
Thanks, Trev
-
Bradley Wright
Fair point, I understand it's an edge case and definitely not worth any kind of concerted effort. I was kinda hoping you'd have a quick solution. ;)
I'll take a deeper look into ack and TextMate and maybe comment back here if I can come up with something nifty.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.