AckMate icon indicating copy to clipboard operation
AckMate copied to clipboard

search by file's extension

Open i3zhe opened this issue 13 years ago • 2 comments

Could we search by file's extensions? Like I only want to see results in .rb, or .js .css files.

i3zhe avatar Mar 05 '12 02:03 i3zhe

If you were calling ack from the command line, you'd say "ack whatever --rb --js --css". But I don't know about in ackmate.

petdance avatar Mar 06 '12 19:03 petdance

Oh, sorry. I mean this feature in Ack.tmbundle. I tried to add this, and will commit it soon. Please review it and see if its good to go and merge.

One problem I found is searching with long words or quotes sometimes returns no result. e.g. App::Ack::die( qq{--type-add: Builtin type "$type" cannot be changed.} ) this line sits in ack-standalone.sh

but the original textmate search works. Any work around please?

i3zhe avatar Mar 07 '12 08:03 i3zhe