A better way to search, navigate, and understand code on GitHub
Reading code is a hugely important task for developers. That’s why we built GitHub’s new code search—to help developers search, navigate, and understand code written by them, their team, and the world.
Our mission at GitHub is to build tools to make developers happier and more productive. Great tools eliminate burdens and allow developers to focus on what they do best: building things.
But while building, developers don’t just write code—they browse, navigate, sift, and sort through it. Reading code is a hugely important task for developers, whether they are planning and implementing features, investigating bugs or reviewing code. That’s why we built GitHub’s new code search—to help developers search, navigate, and understand code written by them, their team, and the world. Our new code search index includes over 10 billion unique documents across 30+ million repositories (and growing).
Developers loved the ability to instantly find relevant code, use our powerful code navigation, and dig through large and complex codebases. And for many developers, GitHub code search became an essential part of their workflow—something they depend on every day to find the answers they need to do their job.
We heard your feedback about wanting this for GitHub.com, so at GitHub Universe we unveiled the new code search and navigation capabilities we’ve been working on for you.
Find exactly what you’re looking for 👀
This beta introduces an all-new search interface in GitHub.com, with suggestions, completions, and the ability to filter results by a wide variety of dimensions (for example, repository, language, symbol, and owner). Backed by our new code search engine, you can search for code using powerful qualifiers, boolean expressions, and even regular expressions.
We’ve developed our new code search engine completely from scratch, with a focus on performance. Most search queries find results in just a few hundred milliseconds—so you can quickly search, iterate, and refine your query to find exactly what you’re looking for.
Our new code search engine actually understands code—and brings you the most relevant results first, so you can find answers buried in your codebase.
Browse, navigate, and dig deeper
Clicking on a search result is just the beginning of the journey. Developers need to search, browse, and navigate code, find definitions and references, and trace the path of the code through their codebases. That’s why, as part of this beta, we’ve completely redesigned the code view, tightly integrating browsing, search, and code navigation.
We’ve also added a file tree to the left side of the code view, which puts code in context, showing where it fits into the rest of the repository, and enables developers to easily browse files across their repository.
We listened to your feedback and released new versions (v4) of actions/upload-artifact and actions/download-artifact. While this version of the actions to upload and download artifacts includes up to 10x performance improvements and several new features, there are also key differences from previous versions that may require updates to your workflows.