[TxMt] "Find in Project Files"

Allan Odgaard throw-away-1 at macromates.com
Wed Apr 25 19:42:43 UTC 2007

On 25. Apr 2007, at 06:28, Chuck Esterbrook wrote:

> I don't know if this has been suggested before, but I'd like to right
> click on a selection or an identifier (without having to double click
> it first) and choose "Find in Project" which would give search results
> in all files in a project (or a directory if I had opened one).
> This would be great for quickly exploring code bases.
> Is there a way to hook this up now given TextMate's flexibility and
> the existence of the Edit -> Find -> Find in Project ?

You would need to take the route of a custom command, see e.g. the  
Show TODO List command.

But, if you want to find the current selection in your project, the  
keyboard steps are:

  1. ⌘E  (copy selection to find clipboard)
  2. ⇧⌘F (find in project)
  3. ↩   (start the search)

More information about the textmate mailing list