GitHub Code Search
Update: GitHub Codesearch is now located at github.com/search Today we’re unveiling a new feature on GitHub that we’ve been working on for a bit now that lets you search through…
Update: GitHub Codesearch is now located at github.com/search
Today we’re unveiling a new feature on GitHub that we’ve been working on for a bit now that lets you search through nearly all the public source code on the site (which is a lot).
GitHub Codesearch can be found at github.com/codesearch and will let you type in anything you’re looking for in source code and get highlighted results of any files in our public repositories that match. You will also get a sidebar with the facet counts of language breakdown of the results and repository breakdowns.
You can also search through any specific language, if you’re looking for something specific by selecting that language in the dropdown:
You can also refine your search results by clicking on one of the languages or repositories listed in the sidebar to drill down to only those results:
There are a pretty good number of things you can do with this, and we hope you enjoy it. We’ll be incorporating this functionality into more aspects of the website soon (search from the front page, search through a users repositories from their user page, search through a repos code from the project page, etc). Let us know if you find any kinks or can think of any particularly interesting application of this technology that we could incorporate into the site.
We hope you like it!
Written by
Related posts
Inside the research: How GitHub Copilot impacts the nature of work for open source maintainers
An interview with economic researchers analyzing the causal effect of GitHub Copilot on how open source maintainers work.
OpenAI’s latest o1 model now available in GitHub Copilot and GitHub Models
The December 17 release of OpenAI’s o1 model is now available in GitHub Copilot and GitHub Models, bringing advanced coding capabilities to your workflows.
Announcing 150M developers and a new free tier for GitHub Copilot in VS Code
Come and join 150M developers on GitHub that can now code with Copilot for free in VS Code.