Coders, Search For Code With Google Code Search

Oct 5, 2006 - 7:52 am 2 by
Filed Under Misc Google

google-codesearch.gifSearch engines for searching code bases is nothing new, but this time Google did it with Google Code Search.

Google Code Search helps you find function definitions and sample code by giving you one place to search publicly accessible source code hosted on the Internet. With Google Code Search, you can:
  • Use regular expressions to search more precisely
  • Restrict your search by language, license or filename
  • View the source file with links back to the entire package and the webpage where it came from

Obviously, it only searches "publicly accessible source code" but there is plenty of that available. Specifically, you can search within archives (.tar.gz, .tar.bz2, .tar, and .zip), CVS repositories and Subversion repositories. There are advanced restrict functions that Google allows you to use to find your code of choice, to only search PHP you can use this command, [lang:php].

Yes, there is an API for this product and you can submit your code to the index as well. Hey, search engine optimization for your code. Outsourcing firms, you may have a niche or vertical creep strategy at your finger tips here soon.

Forum discussion at WebmasterWorld & Cre8asite Forums & DigitalPoint Forums.

 

Popular Categories

The Pulse of the search community

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: June 30, 2025

Jun 30, 2025 - 10:00 am
Google Search Engine Optimization

Google Supports Fewer Structured Data, Not More Like Promised

Jun 30, 2025 - 7:51 am
Bing Ads

Microsoft Removed Over One Billion Ads & 475,000 Advertiser Accounts

Jun 30, 2025 - 7:41 am
Google

Google Tests AI Mode In Chrome Search Bar (Desktop & Android)

Jun 30, 2025 - 7:31 am
Google

PSA: Fan Out Queries Are Not In Google Search Console

Jun 30, 2025 - 7:21 am
Google Ads

New Google Ads Broad Match Experiments Testing

Jun 30, 2025 - 7:11 am
Previous Story: When Does Google Send You To The Personalized Home Page
Next Story: Another Sexy SEO Man