Comment by radicality
2 years ago
Is the difference that now the basic search functionality actually works?
The previous standard GitHub search I found to be remarkably bad. I would be looking at some small public repo, search for an exact string match I know exists in the code, scope the search to that repo only, and still see zero results. Even copy-pasting a line of code from a file in the repo often resulted in zero matches.
I don't get it too. Maybe one needs to enable something. The search is still useless. Locally I use git-grep.
You might want to consider replacing git-grep with ripgrep.
It seems you still need to enable the feature. Click your user icon in the top right -> choose "Feature preview" in the dropdown -> enable the "New Code Search and Code View" feature.
How that is not standard for the last 10 years is baffling.
2 replies →
Same experience here. Are there advertisement accounts posting here or something? Legitimately weird.
Ah, you need to log in to get access to the new code search!