MITB Banner

GitHub Rolls Out Technology To Improve Code Search

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

Share

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 github.com 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.

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.

Share
Picture of Meeta Ramnani

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.
Related Posts

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

Upcoming Large format Conference

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Courses & Careers

Become a Certified Generative AI Engineer

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.