Tuesday, April 1, 2008

Code Snippets in Google Universal Search

Google shows results from its code search engine when you search for things related to programming languages: function names, classes, objects, methods so you can see real-life examples of use. For some reason, the snippets are always displayed after the third search result and they include up to four lines of code.

Google Code Search indexes "publicly accessible source code hosted on the Internet" and is the only search engine developed by Google that supports regular expressions and case-sensitive searches. It's also the only Google search engine that has keyboard shortcuts: after clicking on a search result, type n and p to go to the next/previous match.


Related:
Google Code Search vs Krugle vs Koders

{ via Google Blogoscoped }

No comments:

Post a Comment