Home / News & Analysis / Google’s GitHub competitor gets better search tools

Google’s GitHub competitor gets better search tools

Google today announced an update to Cloud Source Repositories, its recently relaunched Git-based source code repository, that brings a significantly better search experience to the service. This new search feature is based on the same tool that Google’s own engineers use day in and day out and it’s now available in the beta release of Cloud Source Repositories.

If you’ve been on the internet for a while, then you probably remember Google Code Search. Code Search allowed you to search through any open-source code on the internet. Sadly, Google shut this down back in 2012. This new feature isn’t quite the same, though. It only allows you to search your own code — or that from other people in your company. It’s just as fast as Google’s own search, though, and allows you to use regular expressions and other advanced search features.

One nifty feature here is that for Java, JavaScript, Go, C++, Python, TypeScript and Proto files, the tools will also return information on whether the match is a class, method, enum or field.

Google argues that searching through code locally is not very efficient and means you are often looking at outdated code.

As Google also notes, you can mirror your code from GitHub and Bitbucket with Cloud Source Repositories. I’m not sure a lot of developers will do this only to get the advanced search tools, but it’s definitely a way for Google to get more users onto its platform, which is a bit of an underdog in an ecosystem that’s dominated by the likes of GitHub.

“One key benefit is that now all owned repositories that are either mirrored or added to Cloud Source Repositories can be searched in a single query,” Cloud Source Repositories product manager Russell Wolf writes in today’s announcement. “This works whether you have a small weekend project or a code base the size of Google’s. And it’s fast: You’ll get the answers you need super quickly—much faster than previous functionality—so you can get back to writing code. And indexing is super fast, too, so the time between new code being added and being available means you’re always searching up-to-date code.”

Check Also

Facebook carried ads from mysterious pro-Brexit group for months

While Facebook might be making strides in clamping down on fake news and shady political ads, there appear to have been holes in its strategy. The UK's Digital, Culture, Media and Sport committee has published data showing that Facebook carried ads...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Disclaimer: Trading in bitcoins or other digital currencies carries a high level of risk and can result in the total loss of the invested capital. theonlinetech.org does not provide investment advice, but only reflects its own opinion. Please ensure that if you trade or invest in bitcoins or other digital currencies (for example, investing in cloud mining services) you fully understand the risks involved! Please also note that some external links are affiliate links.