Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

search by file's extension #37

Open
i3zhe opened this Issue Mar 5, 2012 · 2 comments

Comments

Projects
None yet
2 participants

i3zhe commented Mar 5, 2012

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

petdance commented Mar 6, 2012

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.

i3zhe commented Mar 7, 2012

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment