It’s a search engine that allows you to find code posted on the Internet. 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 web page where it came from
In my brief tests, it appears that it only crawls code in source code files, not snippets in blog posts or web pages. I’ll be looking into this tool more to determine if it’s worth adding to my favorites.