TextMate has a "Find in Project", but as my project contains a lot of files, I often want to search in a subset of those files: specifically the files contained in a given directory, and this recursively. What is the best and simplest way to do this with TextMate?
(The best solution I found so far consists in creating a new project, adding the directory from which I want to do the search, and running a "Find in Project" in that new project. But I have to say that this is quite clunky.)
Alex
----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet
I use a bundle called "ACK in project" and I've found it quite more effective and faster than Find in project.
-Yëco
Yëco,
Jasson Cascante wrote:
I use a bundle called "ACK in project" and I've found it quite more effective and faster than Find in project.
Sweet! :)
Alex
----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet
(The best solution I found so far consists in creating a new project, adding the directory from which I want to do the search, and running a "Find in Project" in that new project. But I have to say that this is quite clunky.)
________________________________________
The solution I use is to create a temporary "sub project" like you mention, only my method of creating the sub project is quite simple: drag the folder you want to search from the drawer to the TextMate icon in the dock.
Dru
Dru,
drukepple wrote:
The solution I use is to create a temporary "sub project" like you mention, only my method of creating the sub project is quite simple: drag the folder you want to search from the drawer to the TextMate icon in the dock.
This is a good trick, which can be used in conjunction with ACK, as suggested by Yëco.
Alex
----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet
drukepple wrote:
The solution I use is to create a temporary "sub project" like you mention, only my method of creating the sub project is quite simple: drag the folder you want to search from the drawer to the TextMate icon in the dock.
This is a good trick, which can be used in conjunction with ACK, as suggested by Yëco.
Alex
If you highlight a specific folder in the project pane, then Ack-in-Project will root there instead of the whole project. -Adam V.
Didn't knew that one Adam!
Thanks for the tip.
-Yëco