[TxMt] opening a file readonly

Mat Schaffer schapht at gmail.com
Thu Jul 19 15:11:16 UTC 2007


On Jul 19, 2007, at 10:51 AM, Ian Smith-Dahl wrote:
> I use it pretty extensively when searching for the use of specific  
> variables in a huge Java codebase.    Even though I rarely make  
> edits to the code base (I'm mostly responsible for the graphic  
> skins), I haven't found any tool better than TextMate's ability to  
> dynamically create projects by opening file folders (and so to  
> specify scope specifically for one search) and then quickly  
> pinpoint lines of code using Find in Project.
>
> Is there a better tool for that?

grep and find are pretty good in conjunction for that sort of thing:

grep -l <search term> `find <starting directory> -name *.java`

-Mat



More information about the textmate mailing list