Active Hackathon

GitHub Rolls Out Technology To Improve Code Search

The improvements in code search by GitHub will be integrated into the main experience only after positive feedback

GitHub has rolled out a technology preview for improvements to code search. Initially, the team has created a separate interface for the new code search as they build it, and after positive feedback, it will be integrated into the main experience.

The team plans to help developers search, discover, navigate, and understand code quickly and intuitively with code search. Code search will help maintain a flow state with auto-completion at every step and show the most relevant results first. The rich browsing experience is optimized for reading and understanding code, allowing developers to quickly make sense of unfamiliar logic, even for code outside their IDE.


Sign up for your weekly dose of what's up in emerging technology.

Covering a search index of over five million public and private repositories, the GitHub code search preview allows users to:

  • Easily find what they’re looking for, with smart ranking and an index that is optimized for code.
  • Search for an exact string of code, with support for substring matches and special characters, or use regular expressions (enclosed in `/` separators).
  • Scope searches with `org:` or `repo:` qualifiers, with auto-completion suggestions in the search box.
  • Refine results using filters like language:, path:, extension:, and Boolean operators (OR, NOT). Search for definitions of a symbol with symbol:.
  • Additional features include a directory tree view, symbol information for the active scope, jump-to-definition, and select-to-search.

The improvements to code search follow the release of Copilot and Codespaces. “As a developer, staying in a flow state is hard. Whenever you look up how to use a library, or have a test fail because your developer environment has diverged from CI, or need to know how an error message can arise, you are interrupted. The longer it takes to resolve the interruption, the more context you lose,” wrote Pavel Avgustinov, Senior Director of Software Engineering at GitHub, in a blog post. These developments are a part of their unified solution to improve developer productivity.

More Great AIM Stories

Meeta Ramnani
Meeta’s interest lies in finding out real practical applications of technology. At AIM, she writes stories that question the new inventions and the need to develop them. She believes that technology has and will continue to change the world very fast and that it is no more ‘cool’ to be ‘old-school’. If people don’t update themselves with the technology, they will surely be left behind.

Our Upcoming Events

Conference, Virtual
Genpact Analytics Career Day
3rd Sep

Conference, in-person (Bangalore)
Cypher 2022
21-23rd Sep

Conference, in-person (Bangalore)
Machine Learning Developers Summit (MLDS) 2023
19-20th Jan, 2023

Conference, in-person (Bangalore)
Data Engineering Summit (DES) 2023
21st Apr, 2023

Conference, in-person (Bangalore)
MachineCon 2023
23rd Jun, 2023

3 Ways to Join our Community

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Telegram Channel

Discover special offers, top stories, upcoming events, and more.

Subscribe to our newsletter

Get the latest updates from AIM