-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add support for excluding filenames for searches #55
Comments
There may be no need for an escape character if it is only interpreted as negation when it is the first character. |
Wondering what should be the behavior if user type
Option 1 sounds silly. Option 2 is a weird way to escape the "-" character. I think option 3 is the most intuitive. Thoughts? |
I'm not sure it matters to much. Option 1 isn't useful, but it is consistent and not harmful. Option 3 would be fine, and is probably better. |
Fixed in (pre)release 0.9.32 (https://github.com/chromium/vs-chromium/releases/tag/v0.9.32) |
It works perfectly, and you were correct to go with option number 3. Thanks! |
There is already support for multiple file patterns in Code Search, e.g:
It would be nice to have the ability to allow excluding patterns, e.g.
This would mean: include all files named
service*.cc
, except for the ones ending withtest.cc
This also begs the question of the need for an escape character for "-"
The text was updated successfully, but these errors were encountered: