An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to gostips@gmail.com.

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 }

5 comments:

  1. Let's Gle.

    I had heard an April Fool like news, that Google is going to open with its indexes. If Krugle can use such indexes through some kind of "Google Code API", this will be a good news to developers around the world. I just wonder whether there can be some kind of finance incentive arrangements for such solution to come true.

    ReplyDelete
  2. "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."

    the keyboard shortcuts are only available using the "Keyboard shortcuts" experimental search (http://www.google.com/experimental/)

    ReplyDelete
  3. Errr. I maybe should had checked the date on the entry before commenting :)

    ReplyDelete
  4. @bjori:

    That's true, but it's just an experimental feature. I don't think it will ever be added to the standard interface.

    ReplyDelete
  5. I hope it will, I love them :)

    ReplyDelete

Note: Only a member of this blog may post a comment.