Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search by file's extension #37

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

search by file's extension #37

i3zhe opened this issue Mar 5, 2012 · 2 comments

Comments

@i3zhe
Copy link

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
Copy link

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
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants