protocool / AckMate

TextMate plugin (Cocoa) shell for running 'ack'
MIT License
723 stars 34 forks source link

Search only the selected folder and it's descendants #15

Closed bradleyjames closed 14 years ago

bradleyjames commented 14 years ago

Ack in Project had the ability to only search the selected folder in the project drawer. I don't seem to be able to get this working in AckMate. I'd love to have this back because my projects can get quite large and the searches take much longer than they should.

protocool commented 14 years ago

Holding (or releasing) the command key toggles the ackmate window between "search the whole project" and "search in selection" mode.

When the command-key is pressed, you can see the "Search" button change to "In Selection". If you don't have a folder selected in TextMate, the search button is disabled during "In Selection".

So basically, in the ackmate window: return searches the whole project, command-return searches just your selected folder.

Trev

bradleyjames commented 14 years ago

Fantastic. Thank you for your response.

Closing.

chillu commented 13 years ago

Awesome Protip! :) Could you make it a bit more obvious, e.g. by a checkbox under "advanced"?