Searching through your code just got easier in GitHub

Computer code
(Image credit: Shutterstock)

GitHub has announced major updates to its search engine as it looks to help users save time and stay focused on their work at hand. 

For starters, the search engine will now come with a separate interface, but once the work is complete and the product is ready for wider adoption, it will be integrated into the main github.com experience, it was said. 

Not all GitHub repositories can be searched through the new engine, but it’s not a tiny database, either. More than five million public repositories can be searched, including highly popular ones, as well as all public repositories of users in the technology preview. 

GitHub benefits

Users can also search their own private repositories in the technology preview, as well.

Explaining the changes in a blog post, GitHub’s Pavel Avgustinov said finding good results will be easier, as devs will be able to search for an exact string, with support for substring matches and special characters. They’ll also be able to use regular expressions (enclosed in / separators).

Search can also be refined through filters like language:, path:, extension:, and Boolean operators (OR, NOT). Search for definitions of a symbol with symbol: has also been made possible.

The new-and-improved search engine is currently available in preview, with an initial goal looking to get the community’s feedback and help.

Anyone looking to participate should first sign up for the waitlist here. After that, when the technology preview becomes enabled in the account, they can go to https://cs.github.com and try it out. 

Going forward, GitHub will seek to include every public repository, and grow the list of supported languages. Search capabilities will also be improved with scoring and ranking heuristics, while the team will further experiment with APIs and integrations, to see which ones would be most impactful.

Sead is a seasoned freelance journalist based in Sarajevo, Bosnia and Herzegovina. He writes about IT (cloud, IoT, 5G, VPN) and cybersecurity (ransomware, data breaches, laws and regulations). In his career, spanning more than a decade, he’s written for numerous media outlets, including Al Jazeera Balkans. He’s also held several modules on content writing for Represent Communications.

Read more
GitHub Copilot
GitHub is making its AI programming Copilot free for VS Code developers
Microsoft AI Windows Search
Microsoft wants AI to make searching for files a more casual experience
Gemini Code Assist
Google Gemini's new Code Assist tool might finally be the help I need to get coding
ChatGPT search on a laptop.
What is ChatGPT search: everything you need to know about the AI search tool
hacker.jpeg
Thousands of GitHub repositories exposed via Microsoft Copilot
A laptop screen showing ChatGPT search examples
ChatGPT Search is now free for everyone, no OpenAI account required – is it time to ditch Google?
Latest in Software & Services
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Autonomous finance
Quickbooks vs Quicken: what are the main strengths and weaknesses for your business
finance
Quickbooks vs Xero: which is the best for your business?
Group of people meeting
Zoom vs Google Meet: which is the best video conferencing tool for your business?
Fingers typing on a computer keyboard.
Microsoft 365 Personal vs Microsoft 365 Family: are there any real differences?
Latest in News
Volvo Gaussian Splatting
Volvo is using AI-generated worlds to make its cars safer and it’s all thanks to something called Gaussian splatting
Image of Asus ROG Ally running Bazzite/SteamOS
This SteamOS update promises a new future for non-Steam Deck handheld PCs – and I can’t wait
Perplexity Squid Game Ad
New ad declares Squid Game's real winner is Perplexity AI
Pedro Pascal in Apple's Someday ad promoting the AirPods 4 with Active Noise Cancellation.
Pedro Pascal cures his heartbreak thanks to AirPods 4 (and the power of dance) in this new ad
Frank Grimes confronts Homer Simpson in The Simpsons' Homer's Enemy episode
Disney+ adds a new continuous Simpsons stream, so you no longer have to spend ages choosing an episode
Helly and Mark standing on an artificial hill surrounded by goats in Severance season 2 episode 3
New Apple teaser for Severance season 2 finale suggests we might finally find out what Lumon is doing with those goats, and I don't think it's anything good