Join GitHub today
Github search sucks (and how it could be better) #908
I'm reporting this as I've noticed for quite a while that github search feature is not the
I often find myself cloning the repository and using grep recursively or on a specific directory.
A few suggestions:
Note, Upvote this on HN: https://news.ycombinator.com/item?id=13935370 :)
As an example, searching for "def create" on rails/rails: https://github.com/rails/rails/search?utf8=%E2%9C%93&q=def+create&type=
Edit: Actually `"def create" works well in GitHub search now: https://github.com/rails/rails/search?utf8=%E2%9C%93&q=%22def+create%22&type=
1 similar comment
Also, having GitHub search shows tabs with results by default, e.g.
perfect title : github code search sucks. I have opened a stackoverflow issue on this. http://stackoverflow.com/questions/43096264/github-code-search-on-any-branch
There are around 60 search filters available. Even more if you count filter negation; e.g.
I was looking for a way to search a code that starts with, for example, instead of
Perhaps this is the right issue.
referenced this issue
Mar 6, 2018
I'm finding that three quarters of the things I want to use the search for aren't supported.
And local checkout and search doesn't help with Github wide search.
Here's a biggie:
"Find all repos that contain this string" - pretty basic huh? Instead I get 1000 results for the same repo because that string occurs 1000 times.
I could go on. I find a new one every day.